use 127.0.0.1 in nginx config (#22907)
This commit is contained in:
parent
65bd6387cb
commit
916783e6e6
|
@ -12,7 +12,7 @@ server {
|
|||
{% block middle %}{% endblock %}
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:{{server_port}};
|
||||
proxy_pass http://127.0.0.1:{{server_port}};
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-SSL on;
|
||||
proxy_set_header X-Forwarded-Protocol ssl;
|
||||
|
|
|
@ -24,7 +24,7 @@ server {
|
|||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:{{server_port}};
|
||||
proxy_pass http://127.0.0.1:{{server_port}};
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-SSL on;
|
||||
proxy_set_header X-Forwarded-Protocol ssl;
|
||||
|
|
Loading…
Reference in New Issue