added error page snippet
This commit is contained in:
		
							parent
							
								
									31e258fbae
								
							
						
					
					
						commit
						4923743837
					
				
							
								
								
									
										16
									
								
								etc/nginx/snippets/error_pages.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								etc/nginx/snippets/error_pages.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | ||||
| ####### | ||||
| ### NGINX server configuration - error pages | ||||
| ####### | ||||
| 
 | ||||
| # error pages | ||||
| error_page 404 /404.html; | ||||
| location = /404.html { | ||||
|     root /usr/share/nginx/html; | ||||
|     internal; | ||||
| } | ||||
| 
 | ||||
| error_page 500 502 503 504 /50x.html; | ||||
| location = /50x.html { | ||||
|     root /usr/share/nginx/html; | ||||
|     internal; | ||||
| } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user