web: add ability to configure the nginx resolver

This commit is contained in:
Saúl Ibarra Corretgé
2020-10-02 16:39:18 +02:00
parent 2f47518f57
commit 81103362b5
3 changed files with 4 additions and 3 deletions

View 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