Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ GEM
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
uri (0.13.0)
wdm (0.2.0)
webrick (1.9.2)
yell (2.2.2)

Expand All @@ -301,7 +300,6 @@ DEPENDENCIES
github-pages (= 232)
html-proofer (~> 3.19.4)
json
wdm (>= 0.1.1)
webrick (~> 1.9)

BUNDLED WITH
Expand Down
29 changes: 29 additions & 0 deletions _docs/sysadmin/installation/version_notes/v26.10.01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: v26.10.01 > Limit size of websocket cookies
category: System Administrator > Installation Version Notes
---

Release [v26.10.01](https://github.com/Submitty/Submitty/releases/v26.10.01)
adds a configuration setting to limit the cookies that are passed to the NGINX server.

Follow these steps to reconfigure the socket server.


1. Edit your NGINX configuration `/etc/nginx/sites-available/submitty.conf` and add the
`proxy_set_header` configuration line below inside of the `location /ws` block,
similar to the sample file:
[https://github.com/Submitty/Submitty/blob/main/.setup/nginx/submitty.conf](https://github.com/Submitty/Submitty/blob/main/.setup/nginx/submitty.conf)

```
# Forward only the cookie the socket server reads. Its HTTP parser (Ratchet)
# closes handshakes over 4096 bytes with a 413, and cookies that other sites
# set on the same domain can push the handshake past that.
proxy_set_header Cookie "submitty_websocket_token=$cookie_submitty_websocket_token";
```

2. Run regular install script.

```
sudo /usr/local/submitty/.setup/INSTALL_SUBMITTY.sh
```

1 change: 1 addition & 0 deletions navtreedata.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ var NAVTREE =
[ "Ansible Server Installation", "/sysadmin/installation/ansible", null ],
[ "Version Notes", "/sysadmin/installation/version_notes/index", [
[ "Overview", "/sysadmin/installation/version_notes/index", null],
[ "v26.10.01", "/sysadmin/installation/version_notes/v26.10.01", null ],
[ "v26.02.01", "/sysadmin/installation/version_notes/v26.02.01", null ],
[ "v25.07.01", "/sysadmin/installation/version_notes/v25.07.01", null ],
[ "v23.12.02", "/sysadmin/installation/version_notes/v23.12.02", null ],
Expand Down
Loading