mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-25 03:09:20 -07:00
Update caddy example for websockets over port 80 (v1.29.0)
@@ -42,13 +42,7 @@ https://[YOUR-DOMAIN]:443 {
|
|||||||
# Remove Last-Modified because etag is the same and is as effective
|
# Remove Last-Modified because etag is the same and is as effective
|
||||||
-Last-Modified
|
-Last-Modified
|
||||||
}
|
}
|
||||||
# The negotiation endpoint is also proxied to Rocket
|
# Proxy to Rocket
|
||||||
reverse_proxy /notifications/hub/negotiate vaultwarden:80
|
|
||||||
|
|
||||||
# Notifications redirected to the websockets server
|
|
||||||
reverse_proxy /notifications/hub vaultwarden:3012
|
|
||||||
|
|
||||||
# Proxy the Root directory 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user