This is the wiki reverse proxy setup instructions for vaultwarden
This is the configuration
# fly.toml app configuration file generated for juij-password on 2023-05-19T21:21:12+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "password"
primary_region = "lax"
kill_signal = "SIGINT"
kill_timeout = "5s"
[build]
image = "vaultwarden/server:latest"
[env]
TZ = "Asia/Shanghai"
WEBSOCKET_ENABLED = "true"
[[mounts]]
source = "password_data"
destination = "/data/"
[[services]]
protocol = "tcp"
internal_port = 80
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0