Use sameorigin on koel
This commit is contained in:
parent
324d058a28
commit
29f31be000
|
@ -484,6 +484,7 @@ function install_koel_main {
|
|||
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|DENY;|SAMEORIGIN;|g' $koel_nginx_site
|
||||
|
||||
function_check configure_php
|
||||
configure_php
|
||||
|
|
Loading…
Reference in New Issue