diff --git a/production/shared-files/proxy-nginx.conf b/production/shared-files/proxy-nginx.conf index b5537ae6e..12db037ab 100644 --- a/production/shared-files/proxy-nginx.conf +++ b/production/shared-files/proxy-nginx.conf @@ -31,6 +31,11 @@ http { ssl_certificate /etc/nginx/cert.crt; ssl_certificate_key /etc/nginx/key.key; + # Security Headers added here to Prevent Clickjacking + add_header X-Frame-Options "DENY" always; + add_header Content-Security-Policy "default-src 'self'; frame-ancestors 'none';" always; + #Mentioning headers to prevent XSS attacks and not to load any