mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 17:59:20 -07:00
Update caddy examples for websockets over port 80 (v1.29.0)
@@ -58,10 +58,7 @@ In the same directory, create the `Caddyfile` below. (This file does not need to
|
|||||||
# if you encounter issues.
|
# if you encounter issues.
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
# Notifications redirected to the WebSocket server
|
# Proxy everything Rocket
|
||||||
reverse_proxy /notifications/hub vaultwarden:3012
|
|
||||||
|
|
||||||
# Proxy everything else to Rocket
|
|
||||||
reverse_proxy vaultwarden:80 {
|
reverse_proxy vaultwarden:80 {
|
||||||
# Send the true remote IP to Rocket, so that vaultwarden can put this in the
|
# Send the true remote IP to Rocket, so that vaultwarden can put this in the
|
||||||
# log, so that fail2ban can ban the correct IP.
|
# log, so that fail2ban can ban the correct IP.
|
||||||
@@ -145,10 +142,7 @@ In the same directory, create the `Caddyfile` below. (This file does not need to
|
|||||||
# if you encounter issues.
|
# if you encounter issues.
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
||||||
# Notifications redirected to the WebSocket server
|
# Proxy everything to Rocket
|
||||||
reverse_proxy /notifications/hub vaultwarden:3012
|
|
||||||
|
|
||||||
# Proxy everything else to Rocket
|
|
||||||
reverse_proxy vaultwarden:80
|
reverse_proxy vaultwarden:80
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user