mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
b84e76b201
[CE/SP] Hotfix 5.0.1 GitOrigin-RevId: ce193b9c7ad7988547289bddb4e8e63d4c718371
46 lines
1.6 KiB
Diff
46 lines
1.6 KiB
Diff
--- overleaf.conf
|
|
+++ overleaf.conf
|
|
@@ -10,7 +10,7 @@ server {
|
|
}
|
|
|
|
location / {
|
|
- proxy_pass http://localhost:4000;
|
|
+ proxy_pass http://127.0.0.1:4000;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
@@ -22,7 +22,7 @@ server {
|
|
}
|
|
|
|
location /socket.io {
|
|
- proxy_pass http://localhost:3026;
|
|
+ proxy_pass http://127.0.0.1:3026;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
@@ -48,22 +48,22 @@ server {
|
|
|
|
# handle output files for specific users
|
|
location ~ ^/project/([0-9a-f]+)/user/([0-9a-f]+)/build/([0-9a-f-]+)/output/output\.([a-z]+)$ {
|
|
- proxy_pass http://localhost:8080; # clsi-nginx.conf
|
|
+ proxy_pass http://127.0.0.1:8080; # clsi-nginx.conf
|
|
proxy_http_version 1.1;
|
|
}
|
|
# handle output files for anonymous users
|
|
location ~ ^/project/([0-9a-f]+)/build/([0-9a-f-]+)/output/output\.([a-z]+)$ {
|
|
- proxy_pass http://localhost:8080; # clsi-nginx.conf
|
|
+ proxy_pass http://127.0.0.1:8080; # clsi-nginx.conf
|
|
proxy_http_version 1.1;
|
|
}
|
|
# PDF range for specific users
|
|
location ~ ^/project/([0-9a-f]+)/user/([0-9a-f]+)/content/([0-9a-f-]+/[0-9a-f]+)$ {
|
|
- proxy_pass http://localhost:8080; # clsi-nginx.conf
|
|
+ proxy_pass http://127.0.0.1:8080; # clsi-nginx.conf
|
|
proxy_http_version 1.1;
|
|
}
|
|
# PDF range for anonymous users
|
|
location ~ ^/project/([0-9a-f]+)/content/([0-9a-f-]+/[0-9a-f]+)$ {
|
|
- proxy_pass http://localhost:8080; # clsi-nginx.conf
|
|
+ proxy_pass http://127.0.0.1:8080; # clsi-nginx.conf
|
|
proxy_http_version 1.1;
|
|
}
|