From 5d70998ba66bdb3df83489e52dfed7052b79cd1b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2016 22:51:18 +0000 Subject: [PATCH] conf extension --- src/freedombone-app-jitsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index c8bc891b..9b0bf973 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -254,7 +254,7 @@ function install_jitsi { fi if [[ $ONION_ONLY == "no" ]]; then function_check nginx_http_redirect - nginx_http_redirect $JITSI_DOMAIN_NAME + nginx_http_redirect ${JITSI_DOMAIN_NAME}.conf echo '' >> $jitsi_nginx_site echo 'server_names_hash_bucket_size 64;' >> $jitsi_nginx_site echo '' >> $jitsi_nginx_site @@ -264,10 +264,10 @@ function install_jitsi { echo '' >> $jitsi_nginx_site echo ' # Security' >> $jitsi_nginx_site function_check nginx_ssl - nginx_ssl $JITSI_DOMAIN_NAME + nginx_ssl ${JITSI_DOMAIN_NAME}.conf function_check nginx_disable_sniffing - nginx_disable_sniffing $JITSI_DOMAIN_NAME + nginx_disable_sniffing ${JITSI_DOMAIN_NAME}.conf echo ' add_header Strict-Transport-Security max-age=15768000;' >> $jitsi_nginx_site echo '' >> $jitsi_nginx_site @@ -290,7 +290,7 @@ function install_jitsi { echo '' >> $jitsi_nginx_site echo ' location / {' >> $jitsi_nginx_site function_check nginx_limits - nginx_limits $JITSI_DOMAIN_NAME '15m' + nginx_limits ${JITSI_DOMAIN_NAME}.conf '15m' echo ' }' >> $jitsi_nginx_site echo '' >> $jitsi_nginx_site echo ' location /http-bind {' >> $jitsi_nginx_site @@ -311,7 +311,7 @@ function install_jitsi { fi echo '' >> $jitsi_nginx_site function_check nginx_disable_sniffing - nginx_disable_sniffing $JITSI_DOMAIN_NAME + nginx_disable_sniffing ${JITSI_DOMAIN_NAME}.conf echo '' >> $jitsi_nginx_site echo ' # Logs' >> $jitsi_nginx_site echo ' access_log off;' >> $jitsi_nginx_site @@ -332,7 +332,7 @@ function install_jitsi { echo '' >> $jitsi_nginx_site echo ' location / {' >> $jitsi_nginx_site function_check nginx_limits - nginx_limits $JITSI_DOMAIN_NAME '15m' + nginx_limits ${JITSI_DOMAIN_NAME}.conf '15m' echo ' }' >> $jitsi_nginx_site echo '' >> $jitsi_nginx_site echo ' location /http-bind {' >> $jitsi_nginx_site