From e0baa0566db1d4ed37672e0b7c80c994e77f020c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 25 Mar 2022 23:27:08 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index acd3d92..7e382d0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,6 +7,10 @@ location / { #client_max_body_size 50M; + more_set_headers "X-Frame-Options: SAMEORIGIN"; + more_set_headers "X-XSS-Protection: 1; mode=block"; + more_set_headers "X-Content-Type-Options: nosniff"; + location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; }