diff --git a/organizr.subfolder.conf.sample b/organizr.subfolder.conf.sample index aae5aff..ab3f621 100644 --- a/organizr.subfolder.conf.sample +++ b/organizr.subfolder.conf.sample @@ -1,6 +1,6 @@ # In order to use this location block you need to edit the default file one folder up and comment out the / location -location / { +location ^~ / { # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; @@ -16,6 +16,8 @@ location / { set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + proxy_intercept_errors on; + } # Optional redirect server errors to organizr error pages