mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-11 07:36:25 -07:00
Merge pull request #26 from linuxserver/airsonic-subdomain-fix
added missing proxy.conf and resolver for airsonic subdomain
This commit is contained in:
commit
d7294f5e67
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ server {
|
||||||
# enable the next two lines for ldap auth
|
# enable the next two lines for ldap auth
|
||||||
#auth_request /auth;
|
#auth_request /auth;
|
||||||
#error_page 401 =200 /login;
|
#error_page 401 =200 /login;
|
||||||
|
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_airsonic airsonic;
|
set $upstream_airsonic airsonic;
|
||||||
proxy_pass http://$upstream_airsonic:4040;
|
proxy_pass http://$upstream_airsonic:4040;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue