Can I set user dynamically from URL ?
November 25, 2009 11:10AM
As you know nginx conf starts with

user www www;

What we need for an internal protected server, if a request comes to *

we want user to be;

user * *;

on realtime. So if request is, then nginx runs as user mike, if request is then nginx runs as julie user.

These users exist in our system, if they don't, nginx should run as default user (www-data)

Is this possible in nginx ?


(similar to apache2 mpm-itk)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready