mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-02 15:51:05 +02:00
web: add ability to configure the nginx resolver
This commit is contained in:
parent
2f47518f57
commit
81103362b5
@ -68,6 +68,7 @@ services:
|
||||
- INVITE_SERVICE_URL
|
||||
- JICOFO_AUTH_USER
|
||||
- MICROSOFT_API_APP_CLIENT_ID
|
||||
- NGINX_RESOLVER
|
||||
- P2P_USE_STUN_TURN
|
||||
- PEOPLE_SEARCH_URL
|
||||
- RESOLUTION
|
||||
|
||||
@ -26,6 +26,8 @@ http {
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
resolver {{ .Env.NGINX_RESOLVER | default "127.0.0.11" }};
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
types {
|
||||
# add support for wasm MIME type, that is required by specification and it is not part of default mime.types file
|
||||
|
||||
@ -52,9 +52,7 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
|
||||
fi
|
||||
|
||||
# copy config files
|
||||
if [[ ! -f /config/nginx/nginx.conf ]]; then
|
||||
cp /defaults/nginx.conf /config/nginx/nginx.conf
|
||||
fi
|
||||
tpl /defaults/nginx.conf > /config/nginx/nginx.conf
|
||||
|
||||
if [[ ! -f /config/nginx/meet.conf ]]; then
|
||||
tpl /defaults/meet.conf > /config/nginx/meet.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user