Browse Source

Use sameorigin on koel

Bob Mottram 8 years ago
parent
commit
29f31be000
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-app-koel

+ 1
- 0
src/freedombone-app-koel View File

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