Closed xakrume closed 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
thanks mate
thank you for good work, @trentster very usefull
bad idea to give permissions on nginx configuration files to www user. Nginx runs from root user. Same permissions for /var/db/ssl