diff --git a/app/nginx/dev.template.conf b/app/nginx/dev.template.conf index dabd9127..6cdf2afd 100644 --- a/app/nginx/dev.template.conf +++ b/app/nginx/dev.template.conf @@ -46,7 +46,7 @@ http { } location ~ /api/.*$ { - proxy_pass http://localhost:5000; + proxy_pass http://127.0.0.1:5000; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; @@ -55,7 +55,7 @@ http { } location ~ /w/.*$ { - proxy_pass http://localhost:5000; + proxy_pass http://127.0.0.1:5000; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; diff --git a/app/nginx/prod.conf b/app/nginx/prod.conf index 313caa41..2ea5f6c6 100644 --- a/app/nginx/prod.conf +++ b/app/nginx/prod.conf @@ -97,7 +97,7 @@ http { } location ~ /api/.*$ { - proxy_pass http://localhost:5000; + proxy_pass http://127.0.0.1:5000; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; @@ -107,7 +107,7 @@ http { } location ~ /w/.*$ { - proxy_pass http://localhost:5000; + proxy_pass http://127.0.0.1:5000; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host;