firefly-iii/nginx_app.conf

12 lines
257 B
Plaintext
Raw Normal View History

2017-11-29 12:15:44 -06:00
# prevent HTTPoxy vulnerability
fastcgi_param HTTP_PROXY "";
2017-04-26 19:45:26 -05:00
location / {
2017-11-29 12:15:44 -06:00
# try to serve file directly, fallback to rewrite
2017-04-26 19:49:06 -05:00
try_files $uri @rewriteapp;
}
location @rewriteapp {
2017-11-29 12:15:44 -06:00
# rewrite all to index.php
2017-04-26 19:49:06 -05:00
rewrite ^(.*)$ /index.php$1 last;
}