i actually [finally] figured out the problem. i only revisit this
problem each time i setup a new system and run into the same issue and
i think i solve it a different way each time. anyway, the solution to
this issue is that the permissions to the /var/lib/nginx folder are
700 and should be 755. c
basically it was to undo what the slackbuild did:
# Make the temp path.
mkdir -p $PKG/var/lib/$PRGNAM
chmod 0700 $PKG/var/lib/$PRGNAM
i'm not sure of the details of nginx creating the folders but i think
its trying to create the folders as the user nginx runs as but since
it can't access the /var
On Sun, 12 Jul 2015, Larry Hajali wrote:
> What does setting the permissions of /var/lib/nginx to 755 accomplish?
It will allow the worker processes to actually have access to the working
directories :-)
The SlackBuild sets /var/lib/nginx to 0700. On startup the master process
will create the
On Wed, Jul 8, 2015 at 1:31 PM, Miguel De Anda wrote:
> I just had to rebuild my nginx machine and I ran into this issue
> again! I managed to fix it this time with a:
>
> chmod 755 /var/lib/nginx
>
What does setting the permissions of /var/lib/nginx to 755 accomplish?
Nginx will create the folde
I just had to rebuild my nginx machine and I ran into this issue
again! I managed to fix it this time with a:
chmod 755 /var/lib/nginx
I notice the buildscript set it to 700. I simply installed it via
slackrepo using nothing but defaults so nginx runs as user nobody.
Might be worth checking out
On Tue, 5 May 2015, Miguel De Anda wrote:
> i've installed nginx from the slackbuild and i have it run as a proxy for
> tomcat with a config something like this...
> when it tries to load some files, it fails with the following error:
> "/var/lib/nginx/proxy/3/00/03" failed (13: Permissio
i've installed nginx from the slackbuild and i have it run as a proxy for
tomcat with a config something like this...
sever {
server_name example.com;
location / {
proxy_pass http://localhost:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_ad