Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

RewriteURL with Vanilla 2.5

Hello,

I used Nginx as front listen on 8080 and push back to Apache to 8181

How I will set the nginx config and apache .htaccess to use RewriteURL on Vanilla forum

Comments

  • I found that very handy site for nginx recently: https://nginxconfig.io/#!?https

    A working nginx location statement for nginx is:

        location / {
            try_files $uri $uri/ @vanilla;
        }
    
        location @vanilla {
            rewrite ^/(.+)$ /index.php?p=$1 last;
        }
    

    But I have absolutely no clue if you can use it like that when you are using nginx as a proxy (which is what I guess you do)

Sign In or Register to comment.