@@ -408,6 +408,9 @@ function peertube_setup_web {
echo ' }' >> $peertube_nginx_file
echo '}' >> $peertube_nginx_file
+ # CSP currently causes an error
+ sed -i '/Content-Security-Policy/d' $peertube_nginx_file
+
function_check create_site_certificate
create_site_certificate $PEERTUBE_DOMAIN_NAME 'yes'