Merge pull request #145 from clandmeter/proxy-fix

https_proxy: fix setting of ALLOWED_DOMAINS
This commit is contained in:
chandi 2021-10-05 14:31:28 +02:00 committed by GitHub
commit 8948356d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,10 +311,10 @@ services:
- ./mod/https/site-ipv4only.conf:/etc/nginx/conf.d/bbb-docker.conf
{{end}}
environment:
{{ if not .Env.DEV_MODE }}
ALLOWED_DOMAINS: ${DOMAIN}
{{else}}
{{ if isTrue .Env.DEV_MODE }}
ALLOWED_DOMAINS: ""
{{else}}
ALLOWED_DOMAINS: ${DOMAIN}
{{end}}
network_mode: host
{{end}}