mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-12 16:58:13 +01:00
https_proxy: fix setting of ALLOWED_DOMAINS
The template is not correctly checking if DEV_MODE is set to true. This will always set ALLOWED_DOMAINS to an empty string and allowing to generate certificates for any domain that points to the application.
This commit is contained in:
parent
0dd3d9a0bc
commit
e1238f13d6
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user