mirror of
				https://github.com/lleene/dockerconfig.git
				synced 2025-10-30 12:29:03 +01:00 
			
		
		
		
	Working setup v1
This commit is contained in:
		
							
								
								
									
										17
									
								
								config/nginx/header_default
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								config/nginx/header_default
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,17 @@ | ||||
| ## Start of configuration add by letsencrypt container | ||||
| location ^~ /.well-known/acme-challenge/ { | ||||
|     auth_basic off; | ||||
|     auth_request off; | ||||
|     allow all; | ||||
|     root /usr/share/nginx/html; | ||||
|     try_files $uri =404; | ||||
|     break; | ||||
| } | ||||
| ## End of configuration add by letsencrypt container | ||||
| add_header Referrer-Policy "no-referrer" always; | ||||
| add_header X-Content-Type-Options "nosniff" always; | ||||
| add_header X-Download-Options "noopen" always; | ||||
| add_header X-Frame-Options "SAMEORIGIN" always; | ||||
| add_header X-Permitted-Cross-Domain-Policies "none" always; | ||||
| add_header X-Robots-Tag "none" always; | ||||
| add_header X-XSS-Protection "1; mode=block" always; | ||||
		Reference in New Issue
	
	Block a user