make nginx config specifically use ipv6 localhost loopback
This commit is contained in:
parent
f458ee8fda
commit
a8b87e34a2
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ server {
|
||||||
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:5001;
|
proxy_pass http://[::1]:5001;
|
||||||
proxy_set_header Host $host:$port;
|
proxy_set_header Host $host:$port;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue