X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt-standalone%2Fsrc%2Fmain%2Fassembly%2Fnginx-https.conf;h=dafb571480d1079319d0a89c26ea7a259b0c5f6d;hb=refs%2Fchanges%2F80%2F121380%2F2;hp=c89c0bdb20837fa1a627f5f46543c2d115bae806;hpb=6f0d10beffc66f5e44f91538b3cd396cce5f8c84;p=holmes%2Frule-management.git diff --git a/rulemgt-standalone/src/main/assembly/nginx-https.conf b/rulemgt-standalone/src/main/assembly/nginx-https.conf index c89c0bd..dafb571 100644 --- a/rulemgt-standalone/src/main/assembly/nginx-https.conf +++ b/rulemgt-standalone/src/main/assembly/nginx-https.conf @@ -4,6 +4,7 @@ worker_processes 1; error_log logs/error.log; error_log logs/error.log notice; error_log logs/error.log info; +#error_log logs/error.log debug; pid logs/nginx.pid; @@ -37,17 +38,17 @@ http { location / { root /usr/share/nginx/html; - proxy_set_header Host $host; + proxy_set_header Host $proxy_host; proxy_set_header X-Real-IP $remote_addr; proxy_redirect off; if ($uri ~ "/api/holmes-rule-mgmt/(.*)") { - proxy_pass https://msb-iag.onap$request_uri; + proxy_pass http://msb-iag.onap$request_uri; break; } if ($uri ~ "/api/holmes-engine-mgmt/(.*)") { - proxy_pass https://msb-iag.onap$request_uri; + proxy_pass http://msb-iag.onap$request_uri; break; } }