mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Various Heroku related fixes.
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
# prevent HTTPoxy vulnerability
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
|
||||
location / {
|
||||
# try to serve file directly, fallback to rewrite
|
||||
try_files $uri @rewriteapp;
|
||||
}
|
||||
|
||||
location @rewriteapp {
|
||||
# rewrite all to index.php
|
||||
rewrite ^(.*)$ /index.php$1 last;
|
||||
}
|
Reference in New Issue
Block a user