From 4aa496efd5e8970f3768ad41747ee95b828d7370 Mon Sep 17 00:00:00 2001 From: simon987 Date: Sat, 8 Aug 2020 10:03:18 -0400 Subject: [PATCH] update nginx... --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } }