Note X-Frame-Options obsolesence
This commit is contained in:
		@@ -10,13 +10,15 @@ add_header Referrer-Policy "same-origin" always;
 | 
				
			|||||||
proxy_hide_header X-Content-Type-Options;
 | 
					proxy_hide_header X-Content-Type-Options;
 | 
				
			||||||
add_header X-Content-Type-Options "nosniff" always;
 | 
					add_header X-Content-Type-Options "nosniff" always;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
proxy_hide_header X-Frame-Options;
 | 
					 | 
				
			||||||
add_header X-Frame-Options "SAMEORIGIN" always;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
proxy_hide_header X-Permitted-Cross-Domain-Policies;
 | 
					proxy_hide_header X-Permitted-Cross-Domain-Policies;
 | 
				
			||||||
add_header X-Permitted-Cross-Domain-Policies "none" always;
 | 
					add_header X-Permitted-Cross-Domain-Policies "none" always;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Obsolete and replaced by Content-Security-Policy frame-ancestors
 | 
				
			||||||
 | 
					# Setting the less restrictive SAMEORIGIN here, has frame-ancestors 'none' will overwrite it anyways
 | 
				
			||||||
 | 
					proxy_hide_header X-Frame-Options;
 | 
				
			||||||
 | 
					add_header X-Frame-Options "SAMEORIGIN" always;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Obsolete and replaced by Content-Security-Policy
 | 
					# Obsolete and replaced by Content-Security-Policy
 | 
				
			||||||
# Only here to pass Hardenize checks
 | 
					# Only here to pass Hardenize checks
 | 
				
			||||||
proxy_hide_header X-XSS-Protection;
 | 
					proxy_hide_header X-XSS-Protection;
 | 
				
			||||||
add_header X-XSS-Protection "0" always;
 | 
					add_header X-XSS-Protection "0" always;
 | 
				
			||||||
		Reference in New Issue
	
	Block a user