Make trustProxy configurable via environment variable

pull/173/head
dbrennand 4 years ago committed by GitHub
parent 07e58ffe0c
commit 729e5dac5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,6 +20,7 @@ services:
- 3000:1337
environment:
- BASE_URL=http://localhost:3000
- TRUST_PROXY=0
- DATABASE_URL=postgresql://postgres@postgres/planka
- SECRET_KEY=notsecretkey
depends_on:

@ -273,7 +273,7 @@ module.exports = {
*
*/
// trustProxy: true,
trustProxy: process.env.TRUST_PROXY,
},
/**

Loading…
Cancel
Save