Re: 403's on localhost workstation multiple vhosts

2015-10-30 Thread Viaduct Lists
> On Oct 30, 2015, at 7:02 PM, Francis Daly wrote: > > You must nominate a user and group to run nginx as. > > If you don't explicitly name a group, you implicitly name the group with > the same name as the user. > > So: name a group that exists. Possibly the same one that your working apache

Re: 403's on localhost workstation multiple vhosts

2015-10-30 Thread Francis Daly
On Fri, Oct 30, 2015 at 05:55:02PM -0400, Viaduct Lists wrote: Hi there, > Just found out that I was running nginx as the nobody user. I’d like to > change it to rich, but I get this error if installed as user rich; in the > nginx.conf: http://nginx.org/r/user > nginx: [emerg] getgrnam("rich

Re: 403's on localhost workstation multiple vhosts

2015-10-30 Thread Viaduct Lists
Hi Robert. rich is my normal admin user on my workstation. I tried it knowing that the files in my /Library/WebServer/Documents/ are owned by rich. Some groups are wheel and admin. This is OSX (OpenBSD). That getgrnam("rich”) reply was from testing the nginx.conf file. I’ve not gone do

Re: 403's on localhost workstation multiple vhosts

2015-10-30 Thread Robert Paprocki
http://man7.org/linux/man-pages/man3/getgrnam.3.html getgrnam() is a system call to try to get the group name provided. Did you create the 'rich' group, or configure nginx to use an appropriate group? On Fri, Oct 30, 2015 at 2:55 PM, Viaduct Lists < li...@viaduct-productions.com> wrote: > Just f

Re: 403's on localhost workstation multiple vhosts

2015-10-30 Thread Viaduct Lists
Just found out that I was running nginx as the nobody user. I’d like to change it to rich, but I get this error if installed as user rich; in the nginx.conf: nginx: [emerg] getgrnam("rich") failed in /usr/local/etc/nginx/nginx.conf:2 I tried the user www but that also received a 403 error. Not

403's on localhost workstation multiple vhosts

2015-10-30 Thread Viaduct Lists
Hi folks. I’m getting 403’s on all my locahost domains. All are entered into /etc/hosts as 127.0.0.1, and were working when using Apache. Nothing is showing up in the access or error log. Some domains are owned by rich/wheel and some by rich/admin. I’m using passenger with these, and I can

Re: Auth_request PHP question

2015-10-30 Thread Francis Daly
On Mon, Oct 26, 2015 at 08:44:45AM -0400, JaminVP wrote: Hi there, > I managed to get Nginx running with php-scripts, but I don't understand how > the script is supposed to authenticate through auth_request. > What is the script supposed to do to reject a request? I tried the header() > function

Re: Error after ./configure -> No rule to make target "src/os/unix/ngx_gcc_atomic_x86.h"

2015-10-30 Thread Maxim Dounin
Hello! On Fri, Oct 30, 2015 at 10:54:09AM -0400, de_nginx_noob wrote: > I get this error when using the make command. I've been writing and testing > my custom module for a few days now and this has never happened before. I > can't seem to figure out what's causing the issue - maybe something in

Error after ./configure -> No rule to make target "src/os/unix/ngx_gcc_atomic_x86.h"

2015-10-30 Thread de_nginx_noob
I get this error when using the make command. I've been writing and testing my custom module for a few days now and this has never happened before. I can't seem to figure out what's causing the issue - maybe something in my code? [root@dev-centos-7-nginx nginx-1.6.3]# ./configure --add-module=/ro

Fwd: Reg: Issue (Using 32KiB of shared memory for push module in /etc/nginx/nginx.conf)

2015-10-30 Thread Saravanan C
-- Forwarded message -- From: Saravanan C Date: Thu, Oct 22, 2015 at 2:09 AM Subject: Reg: Issue (Using 32KiB of shared memory for push module in /etc/nginx/nginx.conf) To: nginx@nginx.org Hi, Reg: Issue (Using 32KiB of shared memory for push module in /etc/nginx/nginx.conf) W

RE: nginx 1.9.5 & SPDY

2015-10-30 Thread Lukas Tribus
> I was under the impression that SPDY support had been dropped from > NGINX altogether - > however http://nginx.org/en/docs/http/ngx_http_core_module.html#listen > seems to suggest it might still be possible to select it. Yeah up until 1.9.4: > The spdy parameter (*1.3.15-1.9.4*) allows accept