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 - ./mod/https/site-ipv4only.conf:/etc/nginx/conf.d/bbb-docker.conf
{{end}} {{end}}
environment: environment:
{{ if not .Env.DEV_MODE }} {{ if isTrue .Env.DEV_MODE }}
ALLOWED_DOMAINS: ${DOMAIN}
{{else}}
ALLOWED_DOMAINS: "" ALLOWED_DOMAINS: ""
{{else}}
ALLOWED_DOMAINS: ${DOMAIN}
{{end}} {{end}}
network_mode: host network_mode: host
{{end}} {{end}}