Quantcast
Viewing all articles
Browse latest Browse all 4759

Re: Permission on /var/www folder

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