This took me a while to investigate how to set the rewrite rule for Kohana in nginx, then I found it is really easy
location / { root c:/web; index index.php index.html index.htm; if (-f $request_filename){ break; } if (-d $request_filename){ break; } rewrite ^/ANY_PATH/(.+)$ /ANY_PATH/index.php?kohana_uri=$1 last;}
No comments:
Post a Comment