Skip to content

Commit

Permalink
Merge pull request #39 from azazel75/fix-websocket-reconnect
Browse files Browse the repository at this point in the history
Fix client websocket reset of connection
  • Loading branch information
elonen authored Jul 6, 2023
2 parents 07c2c5b + bd993e1 commit 731184d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/debian/additional_files/clapshot+htadmin.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_read_timeout 2h;
proxy_send_timeout 2h;

# Pass authenticated username to backend
proxy_set_header X-Remote-User-Id $remote_user;
Expand Down
2 changes: 2 additions & 0 deletions client/debian/additional_files/clapshot.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_read_timeout 2h;
proxy_send_timeout 2h;

# Pass authenticated username to backend
proxy_set_header X-Remote-User-Id $remote_user;
Expand Down

0 comments on commit 731184d

Please sign in to comment.