mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-03 15:45:43 +00:00
delete all root process
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
user nextcloud;
|
||||
worker_processes auto;
|
||||
pid /var/run/nginx.pid;
|
||||
pid /tmp/nginx.pid;
|
||||
daemon off;
|
||||
|
||||
events {
|
||||
@ -50,7 +49,7 @@ http {
|
||||
image/svg+xml;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 8888;
|
||||
index index.php;
|
||||
root /nextcloud;
|
||||
client_max_body_size 10G;
|
||||
@ -94,7 +93,7 @@ http {
|
||||
fastcgi_param modHeadersAvailable true;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$1;
|
||||
fastcgi_param PATH_INFO $2;
|
||||
fastcgi_pass unix:/var/run/php-fpm.sock;
|
||||
fastcgi_pass unix:/tmp/php-fpm.sock;
|
||||
}
|
||||
|
||||
location ~* ^.+\.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {
|
||||
|
Reference in New Issue
Block a user