Remove content security policy for peertube
This commit is contained in:
parent
4fcb68be28
commit
0a5af0d06a
|
@ -408,6 +408,9 @@ function peertube_setup_web {
|
||||||
echo ' }' >> $peertube_nginx_file
|
echo ' }' >> $peertube_nginx_file
|
||||||
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
|
function_check create_site_certificate
|
||||||
create_site_certificate $PEERTUBE_DOMAIN_NAME 'yes'
|
create_site_certificate $PEERTUBE_DOMAIN_NAME 'yes'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue