Nginx rewrite
In rewrite mode, nginx setting will affect the URL of admin panel. The official website cannot find a solution. The following code can be used.
In other locales, parse the URL
if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index.php; }
Comments
Log in or create an account to post a comment.
Re: Nginx rewrite
@nginx users:
Who has Nginx experience and can help out writing a short guide and a drop-in rewrite example for WackoWiki.
-> Nginx Configuration & Rewrite Guide for WackoWiki R6.1