Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server-ce/config/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ const settings = {

// If you are running Overleaf Community Edition over https, set this to true to send the
// cookie with a secure flag (recommended).
secureCookie: process.env.OVERLEAF_SECURE_COOKIE != null,
secureCookie: process.env.OVERLEAF_SECURE_COOKIE === 'true',

// If you are running Overleaf Community Edition behind a proxy (like Apache, Nginx, etc)
// then set this to true to allow it to correctly detect the forwarded IP
// address and http/https protocol information.

behindProxy: true,
behindProxy: process.env.OVERLEAF_BEHIND_PROXY === 'true',
trustedProxyIps: process.env.OVERLEAF_TRUSTED_PROXY_IPS || 'loopback',

// The amount of time, in milliseconds, until the (rolling) cookie session expires
Expand Down