server { listen 80 default_server; listen [::]:80 default_server; server_name _; autoindex off; root /usr/share/nginx/html; {{#services}} location ~ ^/{{.}}(?:/(.*))?$ { proxy_pass http://127.0.0.1:{{defaultPort}}/$1$is_args$args; } {{/services}} location ~ ^/static(?:/(.*))?$ { alias /salix/dist/$1; autoindex on; } location ~ ^(?:/(.*))?$ { proxy_pass http://127.0.0.1:{{defaultPort}}/$1$is_args$args; } }