diff --git a/_docs/sysadmin/installation/version_notes/v26.10.01.md b/_docs/sysadmin/installation/version_notes/v26.10.01.md index 3e5ce65e..55cb57a8 100644 --- a/_docs/sysadmin/installation/version_notes/v26.10.01.md +++ b/_docs/sysadmin/installation/version_notes/v26.10.01.md @@ -1,12 +1,13 @@ --- -title: v26.10.01 > Limit size of websocket cookies +title: v26.10.01 > Apache & NGINX Configuration Updates 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. +makes two changes. +It adds a configuration setting to limit the cookies that are passed to the NGINX server. +It also disables FastCGI connection reuse of Apache connections. +Follow these steps to reconfigure NGINX & Apache. 1. Edit your NGINX configuration `/etc/nginx/sites-available/submitty.conf` and add the @@ -21,7 +22,27 @@ Follow these steps to reconfigure the socket server. proxy_set_header Cookie "submitty_websocket_token=$cookie_submitty_websocket_token"; ``` -2. Run regular install script. + +2. Edit your Apache `/etc/nginx/sites-available/submitty.conf` to disable reuse as shown below, similar to the sample file: + [https://github.com/Submitty/Submitty/blob/main/.setup/apache/submitty.conf](https://github.com/Submitty/Submitty/blob/main/.setup/apache/submitty.conf) + + ``` + # Define a matching worker for proxying requests. Keep connection reuse + # off, because each Apache child process keeps its own pool of idle + # connections, and they can tie up every PHP-FPM worker. max is a limit + # per Apache child process, not a total. The number of PHP requests that + # run at once is set by pm.max_children in PHP-FPM's pool config, at + # /etc/php//fpm/pool.d/submitty.conf + # + # The part that is matched to the SetHandler is the part that + # follows the pipe above. If you need to distinguish, "localhost; can + # be anything unique. + + + ``` + + +3. Run regular install script. ``` sudo /usr/local/submitty/.setup/INSTALL_SUBMITTY.sh