add a location block dedicated to the websocket to improve performances
This commit is contained in:
parent
1f31751bac
commit
bcaccab029
1 changed files with 9 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue