make nginx config specifically use ipv6 localhost loopback

This commit is contained in:
jesopo 2019-09-18 15:13:49 +01:00
parent f458ee8fda
commit a8b87e34a2

View file

@ -7,7 +7,7 @@ server {
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
location / {
proxy_pass http://localhost:5001;
proxy_pass http://[::1]:5001;
proxy_set_header Host $host:$port;
proxy_set_header X-Forwarded-For $remote_addr;
}