We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80a7d80 + e088f14 commit a786104Copy full SHA for a786104
.nginx/nginx.conf
@@ -5,6 +5,9 @@ server {
5
index index.html;
6
7
location / {
8
+ # Security header
9
+ add_header Referrer-Policy "no-referrer-when-downgrade";
10
+ add_header X-Frame-Options "DENY" always;
11
#if ($request_method = 'OPTIONS') {
12
# add_header 'Access-Control-Allow-Origin' '*' always;
13
# add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
@@ -34,4 +37,4 @@ server {
34
37
#}
35
38
try_files $uri $uri/ /index.html;
36
39
}
-}
40
+}
0 commit comments