mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[PR #164] [MERGED] Make trustProxy configurable via environment variable #940
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/164
Author: @dbrennand
Created: 10/6/2021
Status: ✅ Merged
Merged: 10/20/2021
Merged by: @meltyshev
Base:
master← Head:feat/env-var-trust-proxy📝 Commits (3)
3985150feat: Add TRUST_PROXY environment variable.c4e67b2feat: Add TRUST_PROXY environment variable.6e07aa4fix: Modify value to be 0 or 1.📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
docker-compose.yml(+1 -0)📝
server/config/env/production.js(+1 -1)📄 Description
Hi,
This PR makes the
trustProxyvalue inserver/config/env/production.jsconfigurable using the environment variableTRUST_PROXY.This PR relates to issue #163
Default value in docker-compose.yml is false but if running behind a reverse proxy, it is encouraged to set to true.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.