overleaf/server-ce/hotfix/5.0.1/pr_17601-3.patch
Miguel Serrano b84e76b201 Merge pull request #17627 from overleaf/msm-sp-hotfix-5_0_1
[CE/SP] Hotfix 5.0.1

GitOrigin-RevId: ce193b9c7ad7988547289bddb4e8e63d4c718371
2024-04-02 08:03:53 +00:00

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;
}