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

No https on onion only install of peertube

parent f91d309e
No related branches found
No related tags found
No related merge requests found
......@@ -426,11 +426,12 @@ function peertube_create_config {
echo '' >> $peertube_config_file
echo '# Correspond to your reverse proxy "listen" configuration' >> $peertube_config_file
echo 'webserver:' >> $peertube_config_file
echo ' https: true' >> $peertube_config_file
if [[ $ONION_ONLY == 'no' ]]; then
echo ' https: true' >> $peertube_config_file
echo " hostname: '$PEERTUBE_DOMAIN_NAME'" >> $peertube_config_file
echo ' port: 443' >> $peertube_config_file
else
echo ' https: false' >> $peertube_config_file
echo " hostname: '$PEERTUBE_ONION_HOSTNAME'" >> $peertube_config_file
echo ' port: 80' >> $peertube_config_file
fi
......
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