Added the Nginx directives used by the framework

This commit is contained in:
Abel Hoogeveen 2015-07-07 15:54:01 +02:00
parent a688821c65
commit 73208b9542
1 changed files with 9 additions and 0 deletions

9
nginx_directives.txt Normal file
View File

@ -0,0 +1,9 @@
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /fw/index.php?path=$1 last;
}
}
location ~* (\.enc.cfg)$ {
return 404;
}