Hello - Happy New Year.
I am running default Apache/NGINX servers with global security headers as per the DA docs.
A customer has asked that I add an additional external domain to their Permissions-Policy sync-xhr setting. (i.e. newdomain.com below):
Now I am not finding a way to override the global headers for a single domain.
I can add the custom header through the Admin Level area (Httpd.conf Customization) - but this simply creates a duplicate Permissions-Policy header, vs overriding what is currently in place.
Is it possible to override headers set with cust_nginx.CUSTOM.post?
Does this require a custom nginx_server.conf template in order to do so?
Thank you for any insight.
I am running default Apache/NGINX servers with global security headers as per the DA docs.
A customer has asked that I add an additional external domain to their Permissions-Policy sync-xhr setting. (i.e. newdomain.com below):
Code:
add_header Permissions-Policy 'geolocation=*, midi=(), sync-xhr=(self "https://newdomain.com" "https://|DOMAIN|" "https://www.|DOMAIN|"), microphone=(), camera=(), magnetometer=(), gyroscope=(), payment=(), fullscreen=(self "https://|DOMAIN|" "https://www.|DOMAIN|" )';
Now I am not finding a way to override the global headers for a single domain.
I can add the custom header through the Admin Level area (Httpd.conf Customization) - but this simply creates a duplicate Permissions-Policy header, vs overriding what is currently in place.
Is it possible to override headers set with cust_nginx.CUSTOM.post?
Does this require a custom nginx_server.conf template in order to do so?
Thank you for any insight.