delete all root process

This commit is contained in:
Wonderfall
2016-09-16 17:08:06 +02:00
parent c34874716a
commit 9cbccd93dc
69 changed files with 183 additions and 224 deletions

View File

@ -1,6 +1,5 @@
user rainloop;
worker_processes auto;
pid /var/run/nginx.pid;
pid /tmp/nginx.pid;
daemon off;
events {
@ -47,9 +46,9 @@ http {
image/svg+xml;
server {
listen 80;
root /rainloop;
index index.php index.html;
listen 8888;
root /rainloop;
index index.php index.html;
location ^~ /data {
deny all;
@ -61,7 +60,7 @@ http {
location ~ \.php$ {
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_pass unix:/tmp/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}