34 lines
		
	
	
		
			601 B
		
	
	
	
		
			Nginx Configuration File
		
	
	
	
	
	
		
		
			
		
	
	
			34 lines
		
	
	
		
			601 B
		
	
	
	
		
			Nginx Configuration File
		
	
	
	
	
	
| 
								 | 
							
								worker_processes auto;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								events {
							 | 
						||
| 
								 | 
							
								    worker_connections  1024;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								http {
							 | 
						||
| 
								 | 
							
								    include       mime.types;
							 | 
						||
| 
								 | 
							
								    default_type  application/octet-stream;
							 | 
						||
| 
								 | 
							
								    sendfile        on;
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    keepalive_timeout  65;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    client_max_body_size   20m;
							 | 
						||
| 
								 | 
							
								    server {
							 | 
						||
| 
								 | 
							
								        listen       5200;
							 | 
						||
| 
								 | 
							
								        server_name  localhost;   
							 | 
						||
| 
								 | 
							
								     location / {
							 | 
						||
| 
								 | 
							
								        root   /usr/local/nginx/html;
							 | 
						||
| 
								 | 
							
								        index  index.html index.htm;
							 | 
						||
| 
								 | 
							
								        try_files $uri $uri/ /index.html;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        error_page   500 502 503 504  /50x.html;
							 | 
						||
| 
								 | 
							
								        location = /50x.html {
							 | 
						||
| 
								 | 
							
								            root   html;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								}
							 |