datasets-at / mi-wordpress

Wordpress with FastCGI + Nginx + opcache
2 stars 2 forks source link

Update customize #1

Closed xakrume closed 8 years ago

xakrume commented 8 years ago

bad idea to give permissions on nginx configuration files to www user. Nginx runs from root user. Same permissions for /var/db/ssl

     root  9076  3882   0   Nov 03 ?           0:00 /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf
     www  9078  9076   0   Nov 03 ?           0:15 /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf
     www  9079  9076   0   Nov 03 ?           0:17 /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf
     www  9077  9076   0   Nov 03 ?           0:15 /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf
     www  9080  9076   0   Nov 03 ?           0:16 /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf
     www  9081  9076   0   Nov 03 ?           0:01 /opt/local/sbin/nginx -c /opt/local/etc/nginx/nginx.conf
trentster commented 8 years ago

thanks mate

xakrume commented 8 years ago

thank you for good work, @trentster very usefull