Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Nginx configuration issue

I tried to run vanillaforums on nginx and set up nginx according to

but had an error with too many redirect, e.g. /index.php/index.php/index.php/index.php...

Is that page having issue?

And then tried , but any links doesn't go anywhere, only top page can be viewed.

Finally, I could run vanilaforums by the follwing setting:

But not elegant URI. How can nginx be configured?

OS: Debian GNU/Linux buster

nginx: 1.14.2

PHP: 7.3.4



  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    You can use the following lines:

       # Default path handling
       location / {
           try_files $uri @vanilla;
       location @vanilla {
           fastcgi_param X_VANILLA 1;
           rewrite ^/(.+)$ /index.php?p=$1 last;

    I'm not sure where I have that fastcgi_param X_VANILLA 1; from and if it is needed...

    You might need to add $Configuration['Garden']['RewriteUrls'] = true; to your /conf/config.php

  • mzchmzch New

    Great! Thanks a lot! :)

Sign In or Register to comment.