• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Error with Nginx Reverse Proxy Service Enabled

zepelin57

Basic Pleskian
Hello,
I do not understand what is happening with this service. When I stop the service, all sites have jquery.min.js error (see attachment). When I restart the service errors disappear but some related functions no longer work. Example: popup on image no longer opens without error.
All this happened after Plesk's 17.8.x update. I really need help because I do not understand what is happening!
Thanks for your help.
 

Attachments

  • Sans titre 1.jpg
    Sans titre 1.jpg
    200.9 KB · Views: 12
When you turn of Nginx Proxy you have two choices
a) All files should be processed by Apache, not by Nginx. Is this what you want?
b) All files should be processed by Nginx, not by Apache. Is this what you want?
In case (b) make sure that your .htaccess rewrite rules are translated into Nginx rules and placed into the additional Nginx directives section. Else some paths won't be resolved correctly, some files not loaded (for example a .js file that is located in a rewritten path), hence the scripts won't load.
In case (a) make sure that you wait for the server restart interval to expire, so that the new configuration becomes active in Apache and Nginx.
 
Hello Peter,
Thank you for your answer.

I want (a) all files be processed by Apache. But I d'ont understand your answer :
In case (a) make sure that you wait for the server restart interval to expire, so that the new configuration becomes active in Apache and Nginx.
 
If you do not want to use Nginx I suggest to disable it altogether:
# /usr/local/psa/admin/sbin/nginxmng -d
 
Thank you very much Peter.

There was one last problem with the pagespeed module that caused the latest errors. After removing the module, clear the cache and restart Apache everything is back to normal.
 
Back
Top