Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jb13

    (@jb13)

    Should I send it right here ? or to an email address ?

    Thread Starter jb13

    (@jb13)

    Hi Mateusz,

    First of all happy new year.

    I finally been able to wrote your code properly and had this message when restarting nginx :

    Testing Nginx configuration [OK]
    Starting Nginx [OK]
    Start : php7.3-fpm[OK]
    Start : fail2ban [OK]
    Start : netdata [OK]

    So everything should be working, right ?

    But I still have the message on the plugin page :

    Server configuration error
    Redirects on your server are not working. Check the correct configuration for you in the plugin FAQ. If your configuration is correct, it means that your server does not support redirects from the .htaccess file or requests to images are processed by your server bypassing Apache.

    In this case, please contact your server administrator.

    Also try changing option “Image loading mode” to a different one. Issues about rewrites can often be resolved by setting this option to “Pass Thru”. You can do this in plugin settings below. After changing settings, remember to flush cache if you use caching plugin or caching via hosting.

    Error codes: rewrites_not_working

    Thread Starter jb13

    (@jb13)

    I’ll check your link this weekend.
    On the plugin are you using pass Thru or .htaccess ? :

    via .htaccess (recommended)
    Pass Thru (without rewrites in .htacces files or Nginx configuration)

    Thread Starter jb13

    (@jb13)

    Hi Mateusz,

    Thank you for your reply.
    I tried with this simplest code instead of your, and had no issue that time.
    But do you think it works too ?

    location ~* ^.+\.(png|jpe?g)$ {
    add_header Vary Accept;
    try_files $uri$webp_suffix $uri =404;
    }

    Thanks again,

    JB

Viewing 4 replies - 1 through 4 (of 4 total)