conf extension

This commit is contained in:
Bob Mottram 2016-11-09 22:51:18 +00:00
parent fc08f16df6
commit 5d70998ba6
1 changed files with 6 additions and 6 deletions

View File

@ -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