aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/nginx.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2
index 7220a38..1f6c71a 100644
--- a/templates/nginx.conf.j2
+++ b/templates/nginx.conf.j2
@@ -25,7 +25,7 @@ server {
{% endif %}
{% if server.proxy is defined %}
- proxy_pass http://{{server.proxy.host|default("localhost")}}:{{server.proxy.port|default("80")}};
+ proxy_pass http://{{server.proxy.host|default("127.0.0.1")}}:{{server.proxy.port|default("80")}};
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;