mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 07:18:06 +02:00
Variables for running Overleaf behind a proxy
This commit is contained in:
parent
cdfb418361
commit
7fb82faa66
2 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,12 @@ Run `bin/init --tls` to initialise local configuration with NGINX proxy configur
|
|||
|
||||
A default config for NGINX is provided in `config/nginx/nginx.conf` which may be customised to your requirements. The path to the config file can be changed with the `NGINX_CONFIG_PATH` variable.
|
||||
|
||||
In order for Overleaf to run correctly behind the proxy, the following variables should be uncommented in `config/variables.env`
|
||||
```
|
||||
SHARELATEX_BEHIND_PROXY=true
|
||||
SHARELATEX_SECURE_COOKIE=true
|
||||
```
|
||||
|
||||
When the [SHARELATEX_PORT](overleaf-rc.md#sharelatex_port) variable is set, the port in the `proxy_pass` statement in `nginx.conf` needs to be changed to match.
|
||||
|
||||
By default the https web interface will be available on `https://localhost:443`. The port can be changed via the `TLS_PORT` variable.
|
Loading…
Add table
Add a link
Reference in a new issue