Disable https content security for rocket chat
Otherwise it won't load
This commit is contained in:
parent
eead93e78e
commit
71cc89c713
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue