Skip to content

Commit

Permalink
Attempt at fixing the long wait for WebSocket connection upon boot
Browse files Browse the repository at this point in the history
GJFR committed Dec 6, 2024

Verified

This commit was signed with the committer’s verified signature.
GJFR Gertjan Franken
1 parent 00b9a9f commit 79d39ab
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nginx/config/core_dev.conf
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ location /js/ {
location / {
proxy_pass http://node:5173;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
@@ -20,6 +21,7 @@ location / {
location /api/ {
proxy_pass http://core:5000;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
1 change: 1 addition & 0 deletions nginx/config/core_prod.conf
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ location / {
location /api/ {
proxy_pass http://core:5000;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;

0 comments on commit 79d39ab

Please sign in to comment.