Revert "Fix for 404 and PHP errors"

This commit is contained in:
Eric Nemchik 2020-03-25 09:38:06 -05:00 committed by GitHub
parent cea9c283b5
commit d26ec404ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 # 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 # 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;
@ -16,8 +16,6 @@ location ^~ / {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_intercept_errors on;
} }
# Optional redirect server errors to organizr error pages # Optional redirect server errors to organizr error pages