Jared Dunbar 2 年前
父节点
当前提交
025848d68d
签署人:: Jared Dunbar <jrddunbr@gmail.com> GPG 密钥 ID: CF202CC859BAC692
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      nginx.conf

+ 2
- 1
nginx.conf 查看文件

@@ -23,7 +23,8 @@ http {
23 23
 	add_header X-XSS-Protection "1; mode=block" always;
24 24
 	add_header X-Content-Type-Options "nosniff" always;
25 25
 	add_header Referrer-Policy "no-referrer" always;
26
-	add_header Content-Security-Policy "self" always;
26
+  # erg.. fix this eventually.
27
+	add_header Content-Security-Policy 'self' always;
27 28
 
28 29
   # http://ja13.org and https://ja13.org
29 30
   server {

正在加载...
取消
保存