Use sameorigin on koel

This commit is contained in:
Bob Mottram 2017-05-25 17:32:15 +01:00
parent 324d058a28
commit 29f31be000
1 changed files with 1 additions and 0 deletions

View File

@ -484,6 +484,7 @@ function install_koel_main {
echo '}' >> $koel_nginx_site echo '}' >> $koel_nginx_site
sed -i 's|gzip_types.*|gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;|g' $koel_nginx_site sed -i 's|gzip_types.*|gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;|g' $koel_nginx_site
sed -i 's|DENY;|SAMEORIGIN;|g' $koel_nginx_site
function_check configure_php function_check configure_php
configure_php configure_php