Updated webserver sample configs

This commit is contained in:
Nico Isenbeck
2023-11-11 16:24:06 +01:00
parent 2520b168b2
commit e1b46dc504
2 changed files with 3 additions and 16 deletions
+1 -4
View File
@@ -18,10 +18,7 @@
CustomLog ${APACHE_LOG_DIR}/vaultwarden-access.log combined
# Reverse Proxy
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /notifications/hub(.*) ws://127.0.0.1:3012/$1 [P,L]
ProxyPass / http://127.0.0.1:8000/
ProxyPass / http://127.0.0.1:8000/ upgrade=websocket
ProxyPreserveHost On
ProxyRequests Off