Skip to content

Commit

Permalink
Added ENV variables so as to fix Heroku SSL and AUTH reset issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kahrrza committed Mar 16, 2021
1 parent 8350acc commit 0e512fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
"N8N_BASIC_AUTH_PASSWORD": {
"description": "Basic Authentication Password to secure n8n.",
"value": "pass"
},
"N8N_ENCRYPTION_KEY": {
"description": "This is to set the n8n encryption key to a static value, so that heroku doesnt override it, causing AUTH to fail",
"value": "MdRRn2jiZuVeh5tI77A6"
},
"PGSSLMODE": {
"description": "Heroku made a change so SSL is required to connect to Postgres",
"value": "require"
},
"NODE_TLS_REJECT_UNAUTHORIZED": {
"description": "Because Heroku SSL is self signed, SSL fails if this is not set to 0",
"value": 0
}
},
"formation": {
Expand Down

0 comments on commit 0e512fa

Please sign in to comment.