Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Various Heroku related fixes.
James Cole79517fc6e0a8
diff --git a/.env.heroku b/.env.herokuindex fbe8cf51de..0043f59a0b 100644--- a/.env.heroku+++ b/.env.heroku@@ -5,7 +5,7 @@ APP_KEY=7ahyYVPVsmxjdhsweWCauGeJfwc92NP2APP_LOG=errorlogAPP_LOG_LEVEL=debugAPP_URL=http://localhost-TRUSTED_PROXIES=+TRUSTED_PROXIES=*DB_CONNECTION=pgsqldiff --git a/app.json b/app.jsonindex ceeddf8d98..4843baa8d6 100644--- a/app.json+++ b/app.json@@ -39,7 +39,10 @@],"addons": [{- "plan": "heroku-postgresql"+ "plan": "heroku-postgresql",+ "options": {+ "version": "9.5"+ }}],"scripts": {diff --git a/nginx_app.conf b/nginx_app.confindex b0a4d0ee32..97bdb62378 100644--- a/nginx_app.conf+++ b/nginx_app.conf@@ -1,7 +1,12 @@+# prevent HTTPoxy vulnerability+fastcgi_param HTTP_PROXY "";+location / {+ # try to serve file directly, fallback to rewritetry_files $uri @rewriteapp;}location @rewriteapp {+ # rewrite all to index.phprewrite ^(.*)$ /index.php$1 last;}\ No newline at end of file