mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #2887 from holta/nginx-cgi-bin-security
NGINX Security Risk: Remove /cgi-bin access to /usr/lib ?
This commit is contained in:
		
						commit
						3bb1812a02
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -20,9 +20,10 @@ server { | |||
|         include fastcgi_params; | ||||
|     } | ||||
| 
 | ||||
|     location /cgi-bin { | ||||
|         root /usr/lib; | ||||
|     } | ||||
|     # 2021-07-30: Security risk identified by @tim-moody | ||||
|     #location /cgi-bin { | ||||
|     #    root /usr/lib; | ||||
|     #} | ||||
| 
 | ||||
|     # if you don't like seeing all the errors for missing favicon.ico in root | ||||
|     location = /favicon.ico { access_log off; log_not_found off; } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue