diff --git a/conf/nginx.conf b/conf/nginx.conf index afae0ed..1be9f89 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,10 +3,10 @@ location __PATH__/ { alias __FINALPATH__/; + index index.html; + 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; }