add RAILS_TRUSTED_PROXY
This commit is contained in:
parent
0b6e1ce9e2
commit
90c6ab377b
|
@ -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']
|
||||
|
||||
|
|
|
@ -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>`
|
||||
|
|
|
@ -74,6 +74,7 @@ services:
|
|||
- default
|
||||
environment:
|
||||
- NGINX_SERVER_SCHEME=https
|
||||
- RAILS_TRUSTED_PROXIES
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
|
Loading…
Reference in New Issue