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

Re: Permission on /var/www folder

$
0
0
itpp2012 Wrote:
-------------------------------------------------------
> zeromaster Wrote:
> -------------------------------------------------------
> > itpp2012 Wrote:
> > -------------------------------------------------------
> > > Owner != nginx
> > > nginx only read rights
> > >
> > > If nginx runs as owner with rw rights your allowing too much.
> >
> >
> > So is this setup safe or not, because I don't really understand
> what
> > you are saying haha.
>
> If you don't know what your doing hire someone who does, there are
> already too many systems out there getting hacked due to the lack of
> simple secure management and it's basic understanding.

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.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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