Merge pull request #12400 from overleaf/jpa-server-pro-trusted-proxy-ips

[server-ce] add SHARELATEX_TRUSTED_PROXY_IPS in Server Pro/CE

GitOrigin-RevId: c1fd3c223618061a0069fd212b2a395936a4155b
This commit is contained in:
Jakob Ackermann 2023-05-09 11:39:13 +01:00 committed by Copybot
parent f60e86a71d
commit a12c274195

View file

@ -245,6 +245,7 @@ const settings = {
// address and http/https protocol information. // address and http/https protocol information.
behindProxy: process.env.SHARELATEX_BEHIND_PROXY || false, behindProxy: process.env.SHARELATEX_BEHIND_PROXY || false,
trustedProxyIps: process.env.SHARELATEX_TRUSTED_PROXY_IPS,
i18n: { i18n: {
subdomainLang: { subdomainLang: {