• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Nginx conf

N

nginxn

Guest
Hi,

i migrated a Zend Framework based and subversion controlled project to an Plesk 11 controlled Server and have now some problems :(

Because of Subversion and Zend Framework my document root moved from httpdocs to /projectname/public which shouldnt be any problem.

Configuring the apache was no problem, since i read this nice hint:

#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/PROJECTNAME/conf/vhost.conf

No the Project is running but with one huge Problem:
While Apache accepts the vhost.conf where i set the new document root, nginx doesnt care about this, its still using httpdocs as the document root und therefore looking in httpddocs/css for the stylesheets etc. instead of /httpdocs/Projectname/public/css

I guess i have to set up a nginx conf for this.
But when i open nginx.conf there is only mentioned:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

So now i am stuck.
I have no idea what to do and where to do it.

I guess the problem is this line in the nginx conf:
location /internal-nginx-static-location/ {
alias /var/www/vhosts/PRJECTNAME/httpdocs/;

but i am not sure.

Another question which is bothering me:
in /etc/nginx/nginx.conf is written: worker_processes 1;
which is most likely the reason, why only one instance of nginx is running.
Now i wonder if one instance of this server is enough to handle the amount of request which will generate 1200 Users during peak hours.

I hope somebody can help me :)
 
Back
Top