Skip to content
Snippets Groups Projects
Commit 4209245e authored by Bob Mottram's avatar Bob Mottram
Browse files

Fix web install

parent b0b33150
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment