Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Permission on /var/www folder

$
0
0
zeromaster Wrote:
-------------------------------------------------------
> Well thanks for this helpfull answer..
> You are telling me the owner shouldn't be Nginx, but in my setup
> www-data (nginx) is the owner. So how and in what should i change it.

Remove the write/exec right(s) from all objects except the ones it really needs like logfiles/pid.
In normal operation nginx should not be allowed to write anything anywhere.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>