Welcome! Log In Create A New Profile

Advanced

Re: Map FastCGI Ports Dynamically

Volodymyr Kostyrko
February 22, 2012 06:22AM
justin wrote:
> Valentin,
>
> Yeah, but failing to put the pieces together. How would I use map to
> build a sort of dynamic table that stored username, port combos?

Maybe sticking to unix sockets would be easier? Unix sockets are
addressed by socket file name in base system and have no port so you
would connect to something like:

fastcgi_pass unix:/home/$user/www/.fastcgi.php.socket;

or

fastcgi_pass unix:/tmp/.fastcgi.$user.php.socket;


Unix sockets are also known as faster and secure way for managing local
connections.

--
Sphinx of black quartz judge my vow.

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

Map FastCGI Ports Dynamically

Anonymous User February 21, 2012 09:58PM

Re: Map FastCGI Ports Dynamically

Valentin V. Bartenev February 22, 2012 03:08AM

Re: Map FastCGI Ports Dynamically

Anonymous User February 22, 2012 04:31AM

Re: Map FastCGI Ports Dynamically

Valentin V. Bartenev February 22, 2012 05:20AM

Re: Map FastCGI Ports Dynamically

Anonymous User February 22, 2012 12:56PM

Re: Map FastCGI Ports Dynamically

Volodymyr Kostyrko February 22, 2012 06:22AM

Re: Map FastCGI Ports Dynamically

Anonymous User February 22, 2012 04:16PM

Re: Map FastCGI Ports Dynamically

Valentin V. Bartenev February 22, 2012 05:08PM

Re: Map FastCGI Ports Dynamically

Anonymous User February 22, 2012 05:24PM

Re: Map FastCGI Ports Dynamically

Valentin V. Bartenev February 22, 2012 07:56PM

Re: Map FastCGI Ports Dynamically

Anonymous User February 22, 2012 08:28PM

Re: Map FastCGI Ports Dynamically

Valentin V. Bartenev February 23, 2012 04:56AM

Re: Map FastCGI Ports Dynamically

Anonymous User February 23, 2012 02:23PM

Re: Map FastCGI Ports Dynamically

Volodymyr Kostyrko February 23, 2012 10:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
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