mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
Update some code for Heroku.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
|
||||
location / {
|
||||
if ($http_x_forwarded_proto != "https") {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
# try to serve file directly, fallback to rewrite
|
||||
try_files $uri @rewriteapp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user