• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Search results

  1. P

    Question Rate limiting on Ngnix

    The nginx limit_req directive can be included at /etc/nginx/nginx.conf inside http block. http { ........ limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; .......... } Then, the limit_"req zone=mylimit;" can be included in the plesk Additional nginx directives at...
  2. P

    Question 404, WordPress static page with NGINX

    Removing the line error_page 404 =404 /404.html; as a result a redirect to 404.php. Regarding the regex ^/wp-content/uploads/.*\.(jpg|jpeg|png|gif), is there an alternative? Should not interfere with the default Nginx configuration unless there is other location blocks in Nginx configuration...
  3. P

    Question 404, WordPress static page with NGINX

    Hi @trialotto The permalink settings in WordPress are defined for a long time, and seems correct. Anyway, as per your comments, I have decided to keep the original wp-toolkit configuration from "WordPress permalink". Also there are some very specific cases where we got errors without such...
  4. P

    Question 404, WordPress static page with NGINX

    I have made a few more tests based on your comments. a) With the original block "# WordPress permalink", removed and including only the line error_page 404 /; on the "Additional nginx directives". All the 404s goes to 404.php WordPress theme error page. So, I'm getting junk requests that...
  5. P

    Question 404, WordPress static page with NGINX

    Hi @trialotto Thank you very much for your useful comments. The major issue I have found its related with too many accesses to images at /wp-content/uploads/ (I have near 500.000 images that may change daily, some are deleted causing 404's). On top of that, each image may have a specific...
  6. P

    Question 404, WordPress static page with NGINX

    I’m using NGINX reverse proxy configuration and want to “redirect” all the 404 errors to a specific static page. So, the server should not load WordPress, avoid delays and additional unnecessary php-fpm cpu load. I have tested several configurations on Plesk Obsidian “Additional nginx...
  7. P

    Resolved How to change NGINX Cache parameters in a Plesk web server

    I have adjusted the custom template so, its solved. Thanks!
  8. P

    Resolved How to change NGINX Cache parameters in a Plesk web server

    Anyone knows the plesk default value for NGINX CACHE "Inactive? And how to change it?
  9. P

    Resolved How to change NGINX Cache parameters in a Plesk web server

    Hi Peter, First of all we need to understand the current defaul value for "inactive". It seems less than 30 minutes but we do not know for sure. We intend to make some tuning related to "proxy_cache_valid" (this one we can change in plesk option or at additional directives) and "inactive"...
  10. P

    Resolved How to change NGINX Cache parameters in a Plesk web server

    I need to change the "inactive" parameter in a line similar to: proxy_cache_path /data/nginx/cache keys_zone=my_zone:10m inactive=5m; Plesk does not accept this as "Additional nginx directives" with the error "[emerg] "proxy_cache_path" directive is not allowed here ". Checking the domain...
  11. P

    Issue web socket error - missing /var/run/plesk-web-socket/ws.sock

    I have exactly the same issue since a few days. Did you found how to solve it?
Back
Top