mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-02-16 01:39:36 +01:00
greenlight: latest version and fix for failing API requests due to self signed certificate
This commit is contained in:
parent
ca0a159cc0
commit
6623813f9c
@ -439,7 +439,7 @@ services:
|
|||||||
{{ if isTrue .Env.ENABLE_GREENLIGHT }}
|
{{ if isTrue .Env.ENABLE_GREENLIGHT }}
|
||||||
# greenlight
|
# greenlight
|
||||||
greenlight:
|
greenlight:
|
||||||
image: bigbluebutton/greenlight:v3.0.6.1
|
image: bigbluebutton/greenlight:v3.4.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -450,7 +450,7 @@ services:
|
|||||||
DATABASE_URL: postgres://postgres:${POSTGRESQL_SECRET:-password}@postgres:5432/greenlight-v3
|
DATABASE_URL: postgres://postgres:${POSTGRESQL_SECRET:-password}@postgres:5432/greenlight-v3
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
{{ if isTrue .Env.DEV_MODE }}
|
{{ if isTrue .Env.DEV_MODE }}
|
||||||
BIGBLUEBUTTON_ENDPOINT: http://10.7.7.1/bigbluebutton/api
|
BIGBLUEBUTTON_ENDPOINT: http://10.7.7.1:48083/bigbluebutton/api
|
||||||
{{else}}
|
{{else}}
|
||||||
BIGBLUEBUTTON_ENDPOINT: https://${DOMAIN}/bigbluebutton/api
|
BIGBLUEBUTTON_ENDPOINT: https://${DOMAIN}/bigbluebutton/api
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -29,4 +29,25 @@ http {
|
|||||||
#gzip on;
|
#gzip on;
|
||||||
|
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
|
|
||||||
|
|
||||||
|
server {
|
||||||
|
# additional server only used for greenlight in dev mode
|
||||||
|
# allows it to use the BBB API without failing
|
||||||
|
# due to the self signed certificates
|
||||||
|
#
|
||||||
|
# all other requests (e.g. /join) is then redirected
|
||||||
|
listen 48083 http2;
|
||||||
|
|
||||||
|
location /bigbluebutton/api/join {
|
||||||
|
return 301 https://10.7.7.1$request_uri;
|
||||||
|
}
|
||||||
|
location /bigbluebutton/api {
|
||||||
|
proxy_pass http://127.0.0.1:48087;
|
||||||
|
}
|
||||||
|
location / {
|
||||||
|
return 301 https://10.7.7.1$request_uri;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user