http {
- include mime.types;
+ include ../mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
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;
}
}