mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update ingress.conf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user