mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Fix Airsonic subdomain webUI http request on 443
Issue: When streaming via the webui on https://airsonic.myaddress.com opening a stream generates a url that looks like http://airsonic.myaddress.com:443/stream?player=5&id=176 Which nginx sees as a bad request as it's a http request on port 443. Adding `proxy_set_header X-Forwarded-Host $http_host;` fixes this issue.
This commit is contained in:
parent
89a7ce3faa
commit
3b737573ef
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ server {
|
|||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_airsonic airsonic;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_pass http://$upstream_airsonic:4040;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue