Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Run NGINX on a different user for each site

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Botrax
Posts: 4
Joined: Sat Jun 20, 2015 10:34 pm

Run NGINX on a different user for each site
  • Quote

Post by Botrax » Sat Jun 20, 2015 10:43 pm

How do I set the NGINX User parameter to a different user for each site/CPuser?

in /etc/nginx/nginx.conf , the User parameter is there, but it will be ONE user used for all sites.

How do I set a different NGINX User for each web site?

When using Cache Purge plugins in WordPress, NGINX and PHP must be using the same Linux User to modify content in the NGINX Cache folder.

Each Control Panel User would need to set a different NGINX user for their respective environment.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Run NGINX on a different user for each site
  • Quote

Post by skurudo » Wed Jun 24, 2015 3:02 pm

There is no way to make per user nginx for one port. You can compile whatever number custom nginx copy, but there's deal - you have to use different ports too. If you get a magic button to make something like you want, tell us about this magic.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password