location / { root /usr/share/nginx/html; index index.html index.htm; } location ^~/dc3/demo/user_api/ { proxy_pass http://dc3-auth:8300/; } location ^~/dc3/demo/manager_api/ { proxy_pass http://dc3-manager:8400/; } location ^~/dc3/demo/data_api/ { proxy_pass http://dc3-data:8500/; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; }