diff --git a/nginx.conf b/nginx.conf index 82f3d08..9f15093 100644 --- a/nginx.conf +++ b/nginx.conf @@ -24,7 +24,7 @@ http { keepalive_timeout 65; upstream api { - server mg_api; + server mg_api:3030; } server { @@ -39,7 +39,7 @@ http { location ~ /api(.*)$ { proxy_http_version 1.1; proxy_set_header Host $host; - proxy_pass http://api:3030$1?$args; + proxy_pass http://api$1?$args; } } }