From 4209245e2032fd82d85f9ebcab2757e699ff4892 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 29 Nov 2017 20:25:01 +0000 Subject: [PATCH] Fix web install --- src/freedombone-app-peertube | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube index 78c52007..cf157273 100755 --- a/src/freedombone-app-peertube +++ b/src/freedombone-app-peertube @@ -316,7 +316,7 @@ function peertube_setup_web { function_check nginx_disable_sniffing nginx_disable_sniffing $PEERTUBE_DOMAIN_NAME - echo ' add_header Strict-Transport-Security max-age=15768000;' >> $peertube_nginx_site + echo ' add_header Strict-Transport-Security max-age=15768000;' >> $peertube_nginx_file echo '' >> $peertube_nginx_file echo ' location / {' >> $peertube_nginx_file echo " proxy_pass http://localhost:${PEERTUBE_PORT};" >> $peertube_nginx_file @@ -366,7 +366,7 @@ function peertube_setup_web { fi echo 'server {' >> $peertube_nginx_file echo " listen 127.0.0.1:$PEERTUBE_ONION_PORT default_server;" >> $peertube_nginx_file - echo " server_name $PEERTUBE_ONION_HOSTNAME;" >> $eertube_nginx_file + echo " server_name $PEERTUBE_ONION_HOSTNAME;" >> $peertube_nginx_file echo '' >> $peertube_nginx_file echo ' location / {' >> $peertube_nginx_file echo " proxy_pass http://localhost:${PEERTUBE_PORT};" >> $peertube_nginx_file @@ -462,7 +462,7 @@ function peertube_create_config { echo '' >> $peertube_config_file echo 'signup:' >> $peertube_config_file echo ' enabled: false' >> $peertube_config_file - echo ; limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited' >> $peertube_config_file + echo '; limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited' >> $peertube_config_file echo '' >> $peertube_config_file echo 'user:' >> $peertube_config_file echo ' # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).' >> $peertube_config_file