X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt-standalone%2Fsrc%2Fmain%2Fassembly%2Fnginx-https.conf;h=c89c0bdb20837fa1a627f5f46543c2d115bae806;hb=6f0d10beffc66f5e44f91538b3cd396cce5f8c84;hp=e4facf14680a256b12d4b709104762e63cbd34f9;hpb=dd6a7fa137605db8e2eec437167c438af0ea2447;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 e4facf1..c89c0bd 100644 --- a/rulemgt-standalone/src/main/assembly/nginx-https.conf +++ b/rulemgt-standalone/src/main/assembly/nginx-https.conf @@ -14,7 +14,7 @@ events { http { - include mime.types; + include ../mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' @@ -35,19 +35,19 @@ http { server_name _; location / { - root /usr/local/openresty/nginx/html; + root /usr/share/nginx/html; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_redirect off; if ($uri ~ "/api/holmes-rule-mgmt/(.*)") { - proxy_pass https://$host:9101$request_uri; + proxy_pass https://msb-iag.onap$request_uri; break; } if ($uri ~ "/api/holmes-engine-mgmt/(.*)") { - proxy_pass https://$host:9102$request_uri; + proxy_pass https://msb-iag.onap$request_uri; break; } }