Update nginx (#359)

Fix proxy_set_header Host $port to $server_port
This commit is contained in:
musk 2023-03-20 01:31:38 +01:00 committed by GitHub
parent c4a30430d4
commit 25fde5b7c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ server {
location / {
proxy_pass http://[::1]:5001;
proxy_set_header Host $host:$port;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-For $remote_addr;
}
}