Fix web install
This commit is contained in:
parent
b0b3315083
commit
4209245e20
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue