• Resolved keniry


    Hello, I hope you can help as I want to use your plugin on my spinupwp servers which run nginx.

    my test site is https://astrabb.mull.pro

    currently I cannot get past the server configuration error Redirects on your server are not working.

    As I am fairly useless with nginx or apache for that matter I checked with spinupwp support and sent your FAQ nginx config link.

    The comment was…

    Based on a quick view of the link you’ve sent I would recommend adding a new .conf file to the following directory:

    /etc/nginx/sites-available/{domain}/server/webp.conf (or whatever you’d like to name the file besides webp)

    This will get imported into the sites server block in the main nginx conf.

    They added that they do not normally support this sort of custom change so I am hoping we can arrive at another solution.

    anyway I created like this

    $ cat /etc/nginx/sites-available/astrabb.mull.pro/server/webp.conf
     location ~ /wp-content/uploads/(?<path>.+)\.(?<ext>jpe?g|png|gif)$ {
          if ($http_accept !~* "image/webp") {
          add_header Vary Accept;
          expires 365d;
          try_files /wp-content/uploads-webpc/$path.$ext.webp $uri =404;


    $ cat /etc/nginx/mime.types
        image/png                             png;
        image/tiff                            tif tiff;
        image/vnd.wap.wbmp                    wbmp;
        image/x-icon                          ico;
        image/x-jng                           jng;
        image/x-ms-bmp                        bmp;
        image/svg+xml                         svg svgz;
        image/webp                            webp;

    I also tried the latest beta plugin 1.4.3 indicated in the recent post on not installing htaccess for nginx.

    https://spinupwp.com/doc/changing-nginx-settings/ might give you some idea but I ran up a server purely to test your plugin – its all test nothing live

    …rather than fill this forum I can send you anything you need.


    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter keniry


    @mateuszgbiorczyk we could had this going in a few minutes if you took cooperative approach.

    Thread Starter keniry


    @mateuszgbiorczyk I was offering to help you get this going on a popular platform not spend your time, mostly it has been my time going into this exercise in futility.

    A final thought.

    In the 80’s while working at IBM when someone asked an old a question most people knew the answer was RTFM.

    typical example:


    I can’t seem to get nginx load balancing to work

    the usual answer:


    …which helps no ones

    A better answer and the style I always give is something like:

    RTFM …you will find what you need in the NGINX – IBM COS 1.0 page 26 section 4


    Plugin Author Mateusz Gbiorczyk


    I gave you information on where to find the setup for Nginx as yours was old. Then I gave you the code to hide the error in the admin panel and convert to WebP. Later, I did some analysis for you and explained that redirects still don’t work.

    Lots of people use Nginx, I tested it myself and it works. I don’t know your server, its configuration and I don’t know why it doesn’t work for you.

    I am not able to analyze every configuration, especially if it is very unique. It may sound brutal, but the needs of 99.9% of users are more important to me than the needs of 0.1% of users who have a complicated server structure or many mutually exclusive plugins.

    I took the time for you and did as much as I can. You know what doesn’t work. You know how to check if it will work at a given moment. I don’t know what else I can do to make you happy.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘server configuration error’ is closed to new replies.