Welcome! Log In Create A New Profile

Advanced

Re: Using Nginx auth in PHP scripts

All files from this thread

File Name File Size   Posted by Date  
smime.p7s 6 KB open | download GreenGecko 02/26/2013 Read message
smime.p7s 6 KB open | download GreenGecko 02/26/2013 Read message
Francis Daly
February 26, 2013 05:36PM
On Tue, Feb 26, 2013 at 05:26:49PM -0500, B.R. wrote:

> I feel like I am a noob... oO

The problem is due to how nginx directives are inherited to different
levels. It's consistent within nginx, so once you learn it you can apply
it to all directives which inherit.

Just put your new fastcgi_param directive at the same level as the others
(which are in the "include" file).

So, either:

> include conf.d/includes/fastcgi.conf;

put "fastcgi_param" here, or

> # fastcgi_param MY_GREAT_USER $remote_user;

put "include" here.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using Nginx auth in PHP scripts

B.R. February 26, 2013 04:00PM

Re: Using Nginx auth in PHP scripts Attachments

GreenGecko February 26, 2013 04:16PM

Re: Using Nginx auth in PHP scripts

B.R. February 26, 2013 04:26PM

Re: Using Nginx auth in PHP scripts

Francis Daly February 26, 2013 04:32PM

Re: Using Nginx auth in PHP scripts

B.R. February 26, 2013 11:40PM

Re: Using Nginx auth in PHP scripts Attachments

GreenGecko February 26, 2013 04:32PM

Re: Using Nginx auth in PHP scripts

B.R. February 26, 2013 05:28PM

Re: Using Nginx auth in PHP scripts

Francis Daly February 26, 2013 05:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready