• 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

Recent content by blueberry

  1. blueberry

    Issue TLS1.2 Weak Cipher Suites SSL Labs

    I have noticed that the default installation of Plesk came with tls v1 and tls v1.1 activated by default. In /etc/nginx/conf.d/ssl.conf, I deleted the text related to those TLS so, now i have: ssl_protocols TLSv1.2 TLSv1.3; I guess that if we turn off ssl_prefer_server_ciphers, it should...
  2. blueberry

    FastCGI vs FPM results

    I just wanted to say that I get the same results to display a wordpress page. FastCGI delivers content faster thant php-fpm. Additionnally, I have noticed that the pageload when using fastcgi was more stable than when using php-fpm. UFHH01 said it was useless to use an apache benchmark test on...
  3. blueberry

    Input OWASP triggered on legitimate traffic from Googlebot!

    I wanted to share a very bad thing that I found in my log today. A modsecurity rule of OWASP (WAF) was triggered on visits of Googlebot. I mean come on, if OWASP is not able to make the difference between an attacker and Googlebot, it makes no sense to install OWASP. This is really something...
  4. blueberry

    Question No mime type for TTF in nginx mime.type is it normal?

    I have found that my ttf files were returned with mime type octet-stream instead of font/ttf Then, I have found the config file for mime types under /etc/nginx/mime.types No mime types are configured for ttf (trutypes fonts) So, i have added font/ttf ttf; to mime.types...
  5. blueberry

    Nginx directives for WP super cache on Plesk

    @Cike76 You did an impressive job. Can you tell me what is your time to first byte when a page is cached? (Inspect > Network > reload page). It would be kind to mention how far you are located from your server. (in miles or kilometers) so that i can compare to my situation.
  6. blueberry

    Issue nginx directives not working?

    Thank you, i get it now. I have tried the try_files without any luck in the past. This explains everything.
  7. blueberry

    Resolved Vhosts nginx configuration misconfiguration for wordpress? (add index.html to pathname)

    If you want to add other regex directives with it, you must add the following: location / { #add location regex here location ~* "^/(.+)(!wp-admin|wp-login|wp-content|wp-includes)/$" { if (!-e $request_filename) { rewrite ^/(.+)/$ /index.php last; } } }
  8. blueberry

    Resolved Location regex does not work in Additional Nginx directives

    Problem was solved by using the regex in a context like this: location / { location ~* "^/page/[\d]+/$" { return 410; } } In nginx additional settings
  9. blueberry

    Issue nginx directives not working?

    Thank you so much , it was not exactly what I needed but it helped me a lot to find the solution. In fact I wanted to block wordpress pages like /page/124443/ /page/22334/ So, I didn't want to block a filename or an extension in particular. Consequently, here is the solution that worked for my...
  10. blueberry

    Resolved Location regex does not work in Additional Nginx directives

    I decided to take my pilgrim staff and go up the Plesk mountain. My first stop was at /etc/nginx/plesk.conf.d/vhosts/inadoo.com.conf (my test domain) I used location ~* "^/page/[\d]+/$" {return 410;} to see whether it worked. I haved added the location block with regex at the end of the...
  11. blueberry

    Resolved Location regex does not work in Additional Nginx directives

    I have checked and this one worked on my nginx test server (1.19) but it does not work on PLesk location ~* "^/page/[\d]+/$" {return 410;} (to return a 410 for domain.com/page/2/ domain.com/page/23/ domain.com/page/14) ...)
  12. blueberry

    Resolved Location regex does not work in Additional Nginx directives

    Hi, I have a problem with additional nginx directives. Some location blocks are ignored by Nginx. "Location =" does work but location (regex) (when involving a folder) does not work. I have performed some test on my test domain inadoo.com I have entered the following code in additional nginx...
  13. blueberry

    Issue nginx directives being ignored

    I have the same problem: location blocks are ignored. For instance this one is ignored in additional nginx directives with proxy mode off location ~ ^/page/[0-9]+/? { return 404; } Everytime I want to set a locatin block it does not work. After unchecking Proxy mode, in Apache & nginx...
  14. blueberry

    Issue nginx directives not working?

    I have a similar issue, in additional nginx directives the following does not work: location ~ ^/page/[0-9]+/?$ { return 404; } It is like nginx does not "see" the location blocks.
  15. blueberry

    Resolved Vhosts nginx configuration misconfiguration for wordpress? (add index.html to pathname)

    Problem was solved by adding if (!-e $request_filename) { rewrite ^/(.*)$ /index.php; } At the end of nginx additional settings
Back
Top