mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 17:31:09 -06:00
12 lines
257 B
Plaintext
12 lines
257 B
Plaintext
# 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;
|
|
} |