php and nextcloud examples fix

This commit is contained in:
bunkerity
2020-11-22 17:38:07 +01:00
parent 58fcf0a725
commit 813b42cfa9
7 changed files with 67 additions and 88 deletions

View File

@@ -1,6 +1,3 @@
include %FASTCGI_PATH%fastcgi.conf;
include %FASTCGI_PATH%fastcgi_params;
location ~ \.php$ {
fastcgi_pass %REMOTE_PHP%:9000;
fastcgi_index index.php;

View File

@@ -1,4 +1,5 @@
server {
%FASTCGI_PATH%
%SERVER_CONF%
%PROXY_REAL_IP%
%MAIN_LUA%
@@ -15,7 +16,6 @@ server {
}
%LIMIT_REQ%
%AUTH_BASIC%
%USE_PHP%
%REMOVE_HEADERS%
%X_FRAME_OPTIONS%
%X_XSS_PROTECTION%
@@ -38,4 +38,5 @@ server {
%USE_OPEN_FILE_CACHE%
%USE_PROXY_CACHE%
%USE_REVERSE_PROXY%
%USE_PHP%
}