Remove content security policy for peertube

This commit is contained in:
Bob Mottram 2017-11-30 10:50:24 +00:00
parent 4fcb68be28
commit 0a5af0d06a
1 changed files with 3 additions and 0 deletions

View File

@ -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'