浏览代码

Use sameorigin on koel

Bob Mottram 8 年前
父节点
当前提交
29f31be000
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-app-koel

+ 1
- 0
src/freedombone-app-koel 查看文件

484
     echo '}' >> $koel_nginx_site
484
     echo '}' >> $koel_nginx_site
485
 
485
 
486
     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
486
     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
487
+    sed -i 's|DENY;|SAMEORIGIN;|g' $koel_nginx_site
487
 
488
 
488
     function_check configure_php
489
     function_check configure_php
489
     configure_php
490
     configure_php