Merge pull request #367 from FirmlyReality/master
Forbid Options method & update bootstrap url
This commit is contained in:
commit
9798dc9db7
|
@ -2,8 +2,8 @@ server
|
||||||
{
|
{
|
||||||
listen %NGINX_PORT;
|
listen %NGINX_PORT;
|
||||||
#ssl on;
|
#ssl on;
|
||||||
#ssl_certificate /etc/nginx/ssl/1604242_iwork.pku.edu.cn.pem;
|
#ssl_certificate /etc/nginx/ssl/server.crt;
|
||||||
#ssl_certificate_key /etc/nginx/ssl/1604242_iwork.pku.edu.cn.key;
|
#ssl_certificate_key /etc/nginx/ssl/server.key;
|
||||||
server_name nginx_docklet.conf;
|
server_name nginx_docklet.conf;
|
||||||
charset UTF-8;
|
charset UTF-8;
|
||||||
add_header X-Frame-Options SAMEORIGIN;
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
|
@ -11,7 +11,7 @@ server
|
||||||
rewrite (.*)//+(.*) $1/$2 permanent;
|
rewrite (.*)//+(.*) $1/$2 permanent;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
client_max_body_size 20m;
|
client_max_body_size 20m;
|
||||||
if ($request_method !~* GET|POST){
|
if ($request_method ~* OPTIONS){
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
location ~ ^/NginxStatus/ {
|
location ~ ^/NginxStatus/ {
|
||||||
|
|
|
@ -166,7 +166,7 @@
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
<script src="https://cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
||||||
<script src="https://cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.js"></script>
|
<script src="https://cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.min.js"></script>
|
||||||
<script src="https://cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
<script src="https://cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
{% block script_src %}
|
{% block script_src %}
|
||||||
|
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.min.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
||||||
<script src="https://cdn.bootcss.com/jquery-validate/1.17.0/jquery.validate.js"></script>
|
<script src="https://cdn.bootcss.com/jquery-validate/1.17.0/jquery.validate.js"></script>
|
||||||
|
|
||||||
|
|
|
@ -450,7 +450,7 @@
|
||||||
{% block script_src %}
|
{% block script_src %}
|
||||||
|
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.min.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
{% block script_src %}
|
{% block script_src %}
|
||||||
|
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.min.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -274,7 +274,7 @@
|
||||||
{% block script_src %}
|
{% block script_src %}
|
||||||
|
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/jquery.dataTables.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.js"></script>
|
<script src="//cdn.bootcss.com/datatables/1.10.11/js/dataTables.bootstrap.min.js"></script>
|
||||||
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
<script src="//cdn.bootcss.com/datatables-tabletools/2.1.5/js/TableTools.min.js"></script>
|
||||||
|
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
|
|
Loading…
Reference in New Issue