Browse Source

Merge pull request #633 from doccano/feature/security-enhancement

Update nginx.conf to enhance security
pull/640/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
fa39e8908c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. 2
      nginx/nginx.conf

2
nginx/nginx.conf

@ -3,6 +3,8 @@ server {
charset utf-8;
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
location / {
root /var/www/html;

Loading…
Cancel
Save