nginx und ffnord.net-Webseite
This commit is contained in:
		
					parent
					
						
							
								3df8b2a1ea
							
						
					
				
			
			
				commit
				
					
						30e39eca31
					
				
			
		
					 11 changed files with 184 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								roles/nginx/files/etc/nginx/include/no_dotfiles.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								roles/nginx/files/etc/nginx/include/no_dotfiles.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| # Do not serve dotfiles. | ||||
| location ~ /\. { | ||||
|     deny all; | ||||
|     access_log off; | ||||
|     log_not_found off; | ||||
| } | ||||
| 
 | ||||
							
								
								
									
										7
									
								
								roles/nginx/files/etc/nginx/include/no_logging.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								roles/nginx/files/etc/nginx/include/no_logging.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | |||
| # Deaktiviert Logging | ||||
| 
 | ||||
| access_log off; # Bitte nicht aktivieren. Wir wollen ja nicht die IPs unserer Visitors loggen. | ||||
| 
 | ||||
| # Bitte nur zum Debuggen von schweren Fehlern das Log-File temporär setzen und dann anschließend die Logs löschen. | ||||
| # So stellen wir sicher, dass keine IPs geloggt werden. | ||||
| error_log /dev/null crit; | ||||
							
								
								
									
										1
									
								
								roles/nginx/files/etc/nginx/include/no_symlinks.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								roles/nginx/files/etc/nginx/include/no_symlinks.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| disable_symlinks on from=$document_root; | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 baldo
				baldo