Merge pull request #1498 from nisbet-hubbard/patch-3

Optimize Apache httpd example config
This commit is contained in:
mathilde-cryptpad 2024-05-27 08:30:39 +02:00 committed by GitHub
commit bcf1cb7a33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,8 +33,14 @@ SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
Protocols h2 http/1.1
LimitRequestBody 157286400
AddType application/javascript mjs
ProxyPass / http://localhost:3000/ upgrade=websocket
ProxyPassReverse / http://localhost:3000/
<Location "/">
LimitRequestBody 157286400
ProxyPass http://localhost:3000/ upgrade=websocket
ProxyPassReverse http://localhost:3000/
</Location>
<Location "/cryptpad_websocket">
ProxyPassMatch http://localhost:3003/ upgrade=websocket
ProxyPassReverse http://localhost:3003/
</Location>
</VirtualHost>