Hello everyone,
I'm trying to add the HTTP response headers inside the vhost file like this:
add_header X-Frame-Options "SAMEORIGIN";
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
add_header X-XSS-Protection "1; mode=block";
add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline'" always;
add_header Referrer-Policy "strict-origin";
But nothing changes. They don't work. Does anyone know how to add them with NGINX?