Update ingress.conf

This commit is contained in:
Alexandre
2022-06-02 11:19:10 +02:00
committed by GitHub
parent 1a144a7451
commit 4b798b5596

View File

@@ -4,8 +4,15 @@ server {
include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0;
# Code origin : https://github.com/transmission/transmission/issues/899
location = / {
return 301 ./web/; # The slash at the end is important.
proxy_set_header X-Forwarded-Proto $scheme; # Avoids mixed content
}
location / {
proxy_pass http://127.0.0.1:9091/transmission/web/;
proxy_pass http://127.0.0.1:9091/transmission/;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;