• 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.

Question Problem with FPM application served by nginx

fd_paz

Basic Pleskian
Hi,
I have two websites on the same Cloud with Onyx 17.8.11. The first website I configured with "FPM application served by nginx" and it worked very well. While the second website, although I have configured with the same parameters, but still does not work. I recieve "403 Forbidden nginx" in frontend and "ERR_TOO_MANY_REDIRECTS" in backend. Also, after the unsuccessful attempt, in the WordPress backend, in the Media Library there are no more thumbnail images and even some icons like those of the Wpml are not seen correctly.
In frontend the images are correctly displayed.

I used the following code in the "Additional nginx directives" section:
if (!-e $request_filename) {
set $test P;
}
if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location)) {
set $test "${test}C";
}
if ($test = PC) {
rewrite ^/(.*)$ /index.php?$1;
}

gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
gzip_proxied any;
gzip_types text/plain text/css application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript image/x-icon image/bmp image/svg+xml;
gzip_vary on;

location ~* .(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
expires max; log_not_found off;
}

I would like to know how I can solve the problem with FPM and especially how to repair my Wordpress? Attached I send Screenshots.

Thank you
wpml-icons.jpg library.jpg
 
Hi,
FPM: Unfortunately, that didn't help. "Permanent SEO-safe 301 redirect from HTTP to HTTPS" was not active on my domain. I tried to turn it on and off again, but the result has not changed. I can't activate "FPM application served by nginx" in Plesk for the domain in question.

WordPress: I cloned the entire website to another domain and everything is working properly (with FastCGI application served by Apache), but the same configuration does not work with the domain I configured (problem with Media Library and some icons), so the problem is something of the server side.

Thank you

This KB article can help you with resolving this issue Website hosted on Plesk server is not accessible: Too many redirects
 
Hi,
I get "403 Forbiden" and not "404 Not Found". I had already included the php code in my settings.

Two other links are not my case.

- I was able to repair Media Library by entering this code "define('CONCATENATE_SCRIPTS', true);" in wp-config.php, but the problem with the icons still persists.
- I still can't activate FPM.

Thank you

 
Back
Top