Fix for 404 and PHP errors

This commit is contained in:
HalianElf 2020-03-22 22:27:50 -04:00
parent 4866ef294e
commit 19b101cafd

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;
@ -10,6 +10,7 @@ location / {
#error_page 401 =200 /login; #error_page 401 =200 /login;
include /config/nginx/proxy.conf; include /config/nginx/proxy.conf;
proxy_intercept_errors on;
resolver 127.0.0.11 valid=30s; resolver 127.0.0.11 valid=30s;
set $upstream_app organizr; set $upstream_app organizr;
set $upstream_port 80; set $upstream_port 80;