From 67c96c11e2ce6f9440d05f441cddbce29780ea0b Mon Sep 17 00:00:00 2001 From: chbmb Date: Thu, 21 Mar 2019 20:22:47 +0000 Subject: [PATCH] Satisfy aptalca's OCD --- airsonic.subdomain.conf.sample | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/airsonic.subdomain.conf.sample b/airsonic.subdomain.conf.sample index 7ce9b5e..9c708da 100644 --- a/airsonic.subdomain.conf.sample +++ b/airsonic.subdomain.conf.sample @@ -14,8 +14,6 @@ server { #include /config/nginx/ldap.conf; location / { - include /config/nginx/proxy.conf; - # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; @@ -23,7 +21,8 @@ server { # enable the next two lines for ldap auth #auth_request /auth; #error_page 401 =200 /login; - + + include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_airsonic airsonic; proxy_pass http://$upstream_airsonic:4040;