Welcome! Log In Create A New Profile

Advanced

Can I set user dynamically from URL ?

Posted by devrim 
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 *.domain.com

we want user to be;

user * *;

on realtime. So if request is mike.domain.com, then nginx runs as user mike, if request is julie.domain.com 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 ?

Thanks,
D

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

Click here to login

Online Users

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