add RAILS_TRUSTED_PROXY

This commit is contained in:
Philipp Rothmann 2022-09-13 15:54:56 +02:00
parent 0b6e1ce9e2
commit 90c6ab377b
3 changed files with 7 additions and 1 deletions

View File

@ -7,4 +7,7 @@ DOMAIN=zammad.example.com
LETS_ENCRYPT_ENV=production
SECRET_DB_PASSWORD_VERSION=v1
SECRET_DB_PASSWORD_VERSION=v1
RAILS_TRUSTED_PROXIES=['127.0.0.1', '::1', 'your-traefik_app']

View File

@ -17,6 +17,8 @@
## Quick start
if using elasticsearch, set on your host: `vm.max_map_count=262144` in `/etc/sysctl.conf` and run `sysctl -p`
* `abra app new zammad --secrets`
* `abra app config <app-name>`
* `abra app deploy <app-name>`

View File

@ -74,6 +74,7 @@ services:
- default
environment:
- NGINX_SERVER_SCHEME=https
- RAILS_TRUSTED_PROXIES
deploy:
restart_policy:
condition: on-failure