mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 13:52:24 -05:00
Merge pull request #805 from overleaf/msm-compile-timeout-env
Expose COMPILE_TIMEOUT env variable and update nginx timeouts
This commit is contained in:
commit
937e4b31b7
2 changed files with 5 additions and 5 deletions
|
@ -11,8 +11,8 @@ server {
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_read_timeout 3m;
|
proxy_read_timeout 10m;
|
||||||
proxy_send_timeout 3m;
|
proxy_send_timeout 10m;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /socket.io {
|
location /socket.io {
|
||||||
|
@ -23,8 +23,8 @@ server {
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_read_timeout 3m;
|
proxy_read_timeout 10m;
|
||||||
proxy_send_timeout 3m;
|
proxy_send_timeout 10m;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /stylesheets {
|
location /stylesheets {
|
||||||
|
|
|
@ -213,7 +213,7 @@ settings =
|
||||||
collaborators: -1
|
collaborators: -1
|
||||||
dropbox: true
|
dropbox: true
|
||||||
versioning: true
|
versioning: true
|
||||||
compileTimeout: 180
|
compileTimeout: parseInt(process.env["COMPILE_TIMEOUT"] or 180, 10)
|
||||||
compileGroup: "standard"
|
compileGroup: "standard"
|
||||||
trackChanges: true
|
trackChanges: true
|
||||||
templates: true
|
templates: true
|
||||||
|
|
Loading…
Reference in a new issue