Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add Real IP support for Reverse Proxies

iamEvan7c0c1e6cf8d4
diff --git a/templates/compose/vaultwarden.yaml b/templates/compose/vaultwarden.yaml
index 763e6dfddf..b7ac1fd1b6 100644
--- a/templates/compose/vaultwarden.yaml
+++ b/templates/compose/vaultwarden.yaml
@@ -20,6 +20,7 @@ services:
- SMTP_SECURITY=${SMTP_SECURITY:-starttls}
- SMTP_PORT=${SMTP_PORT}
- SMTP_TIMEOUT=15
+ - IP_HEADER=X-Forwarded-For
- PUSH_ENABLED=${PUSH_ENABLED:-false}
- PUSH_INSTALLATION_ID=${PUSH_SERVICE_ID}
- PUSH_INSTALLATION_KEY=${PUSH_SERVICE_KEY}