Browse Source

Add X-Frame-Options header to prevent clickjacking

pull/456/head v1.0.1
Hironsan 5 years ago
parent
commit
29d187e226
1 changed files with 2 additions and 0 deletions
  1. 2
      nginx/nginx.conf

2
nginx/nginx.conf

@ -2,6 +2,8 @@ server {
listen 80;
charset utf-8;
add_header X-Frame-Options DENY;
location / {
root /var/www/html;
try_files $uri $uri/ /index.html;

Loading…
Cancel
Save