• Resolved leanderlindahl

    (@leanderlindahl)


    Thanks for a great plugin! I’m trying to use Bogo on nginx – recently switched from Apache where it was working perfectly. But on Nginx I can’t get the setup right.
    I’ve applied the Nginx patch from wokamoto’s Gist https://gist.github.com/wokamoto/5b2097e5790ebbc1a4e4 but I suspect my ‘location’ settings in nginx need further tweaking. Any suggestions from anyone and I would be most grateful.

    location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ @rewrite;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }
    
        location @rewrite {
                # Some modules enforce no slash (/) at the end of the URL
                # Else this rewrite block wouldn't be needed (GlobalRedirect)
                rewrite ^/(.*)$ /index.php?q=$1;
        }

    https://ww.wp.xz.cn/plugins/bogo/

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

The topic ‘Bogo on Nginx’ is closed to new replies.