DEV Community

Discussion on: Moving from Apache2 to Nginx Webserver

Collapse
 
flatrick profile image
Patrik

A little tidbit regarding security; if possible, refrain from giving anyone besides the user actually running the website permissions to execute the files.
chmod 755 should at the very least be turned into chmod 750 :)

Collapse
 
davinderpalrehal profile image
Davinderpal Singh Rehal

Absolutely correct, on prod server there are couple of security practices that we follow. Will be doing another article soon about tightening up the security on web servers.