overleaf/server-ce/hotfix/3.5.6/trusted_proxy_ips.patch
Miguel Serrano 8ff0cf3f1e Merge pull request #12469 from overleaf/jpa-hotfix-3-5-6
[misc] Server Pro/CE hotfix 3.5.6

GitOrigin-RevId: 936aa8fd3c05a765e64c5ce14d5f6648773876b6
2023-05-05 08:05:18 +00:00

10 lines
281 B
Diff

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