add deidcated user for nextcloud andd php pool
This commit is contained in:
parent
5264c73861
commit
e9416a66cd
@ -120,7 +120,7 @@ nginx_vhosts:
|
|||||||
fastcgi_param modHeadersAvailable true;
|
fastcgi_param modHeadersAvailable true;
|
||||||
# Enable pretty urls
|
# Enable pretty urls
|
||||||
fastcgi_param front_controller_active true;
|
fastcgi_param front_controller_active true;
|
||||||
fastcgi_pass php-handler;
|
fastcgi_pass Nextcloud-PHP-handler;
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_request_buffering off;
|
fastcgi_request_buffering off;
|
||||||
}
|
}
|
||||||
|
@ -18,9 +18,9 @@ nginx_server_tokens: "off"
|
|||||||
nginx_server_resolver: "192.168.1.40 192.168.1.10"
|
nginx_server_resolver: "192.168.1.40 192.168.1.10"
|
||||||
nginx_realIP_Proxy: 192.168.1.40/24
|
nginx_realIP_Proxy: 192.168.1.40/24
|
||||||
nginx_upstreams:
|
nginx_upstreams:
|
||||||
- name: PHP-handler
|
- name: Nextcloud-PHP-handler
|
||||||
servers:
|
servers:
|
||||||
- unix:/var/run/php-fpm/php-fpm.sock
|
- unix:/run/nextcloud/nextcloud.sock
|
||||||
- name: archMirrorUp
|
- name: archMirrorUp
|
||||||
servers:
|
servers:
|
||||||
- localhost:7001
|
- localhost:7001
|
||||||
@ -212,7 +212,7 @@ nginx_vhosts:
|
|||||||
#Avoid sending the security headers twice
|
#Avoid sending the security headers twice
|
||||||
fastcgi_param modHeadersAvailable true;
|
fastcgi_param modHeadersAvailable true;
|
||||||
fastcgi_param front_controller_active true;
|
fastcgi_param front_controller_active true;
|
||||||
fastcgi_pass php-handler;
|
fastcgi_pass Nextcloud-PHP-handler;
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
fastcgi_request_buffering off;
|
fastcgi_request_buffering off;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user