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

Disable https content security for rocket chat

Otherwise it won't load
parent eead93e7
No related branches found
No related tags found
Loading
......@@ -342,6 +342,9 @@ function install_rocketchat {
echo ' }';
echo '}'; } >> "$rocketchat_nginx_site"
# If content security is enabled then the https site won't load
sed -i 's|add_header Content-Security-Policy|#add_header Content-Security-Policy|g' "$rocketchat_nginx_site"
create_site_certificate "$ROCKETCHAT_DOMAIN_NAME" 'yes'
nginx_ensite "$ROCKETCHAT_DOMAIN_NAME"
......
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