From 57471752e057cde6e6337a031c19c40d33f2669c Mon Sep 17 00:00:00 2001 From: andy bunce Date: Tue, 13 Jun 2023 18:32:51 +0100 Subject: [PATCH] [mod] --- caddy/Caddyfile | 17 +++++++---------- vaultwarden/docker-compose.yml | 3 ++- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 2e1b1f1..0845b11 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -90,16 +90,8 @@ quodatum.duckdns.org { @warden host warden.quodatum.duckdns.org handle @warden { import auth_quodatum - encode gzip - - # The negotiation endpoint is also proxied to Rocket - reverse_proxy /notifications/hub/negotiate 0.0.0.0:80 - - # Notifications redirected to the websockets server - reverse_proxy /notifications/hub 0.0.0.0:3012 - - # Send all other traffic to the regular Vaultwarden endpoint - reverse_proxy 0.0.0.0:80 + reverse_proxy 0.0.0.0:8882 + reverse_proxy /notifications/hub 0.0.0.0:3012 } @nextcloud host nextcloud.quodatum.duckdns.org @@ -188,3 +180,8 @@ xu4.local { root * links file_server browse } +warden.local { + tls internal + reverse_proxy localhost:8882 + reverse_proxy /notifications/hub localhost:3012 +} \ No newline at end of file diff --git a/vaultwarden/docker-compose.yml b/vaultwarden/docker-compose.yml index 3df7676..3d11501 100644 --- a/vaultwarden/docker-compose.yml +++ b/vaultwarden/docker-compose.yml @@ -7,8 +7,9 @@ services: restart: unless-stopped environment: - WEBSOCKET_ENABLED=true + - ROCKET_PORT=8882 volumes: - ./data/:/data/ ports: - - 8882:80 + - 8882:8882 - 3012:3012 \ No newline at end of file