mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 21:11:31 -07:00
Satisfy aptalca's OCD
This commit is contained in:
parent
a13cd10ba2
commit
67c96c11e2
1 changed files with 2 additions and 3 deletions
|
@ -14,8 +14,6 @@ server {
|
||||||
#include /config/nginx/ldap.conf;
|
#include /config/nginx/ldap.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
include /config/nginx/proxy.conf;
|
|
||||||
|
|
||||||
# enable the next two lines for http auth
|
# enable the next two lines for http auth
|
||||||
#auth_basic "Restricted";
|
#auth_basic "Restricted";
|
||||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||||
|
@ -24,6 +22,7 @@ server {
|
||||||
#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