mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 02:50:47 +00:00
Merge pull request #288 from barracks510/master
Update NGINX Configuration
This commit is contained in:
commit
a772109e16
1 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,18 @@ server {
|
|||
proxy_read_timeout 3m;
|
||||
proxy_send_timeout 3m;
|
||||
}
|
||||
|
||||
location /socket.io {
|
||||
proxy_pass http://localhost:3026;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $http_x_forwarded_host;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_read_timeout 3m;
|
||||
proxy_send_timeout 3m;
|
||||
}
|
||||
|
||||
location /stylesheets {
|
||||
expires 1y;
|
||||
|
|
Loading…
Reference in a new issue