vaultwarden+Caddy+iOS app not working

Hi I’m trying to run VW on docker using my server’s caddy (not docker).

The webUI works fine, but the mobile client says too many HTTP redirects

My Caddyfile

  1 vault.example.com {
  2     reverse_proxy /notifications/hub localhost:3012
  3     reverse_proxy * localhost:8087 {
  4         header_up X-Real-IP {remote_host}
  5     }
  6 }

Note: 8087 is my vaultwarden’s port.

My docker-compose is as follows:

  1 services:
  2     vaultwarden:
  3         image: vaultwarden/server:latest
  4         container_name: passwordmanager
  5         ports:
  6             - 3012:3012
  7             - 8087:80
  8         volumes:
  9             - ./vw-data:/data

Thanks in advance

1 Like

I have the same issue, do you have any solution?

This issue from bitwarden repo: Too many redirects on iOS · Issue #855 · bitwarden/mobile · GitHub