From a565dd1a049726937b367d5440218f349e39b090 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 14 Apr 2022 13:06:09 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index b5f38e3..afae0ed 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,9 +2,11 @@ location __PATH__/ { alias __FINALPATH__/; + + more_set_headers "X-Frame-Options: SAMEORIGIN"; + more_set_headers "X-Content-Type-Options: nosniff"; + more_set_headers "X-XSS-Protection: 1; mode=block"; + more_set_headers "Content-Security-Policy: frame-ancestors 'none'"; index index.html; - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; }