mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 00:42:55 +00:00 
			
		
		
		
	Unify nginx configuration style
This commit is contained in:
		@@ -3,4 +3,4 @@ location = /terminal {
 | 
				
			|||||||
        proxy_http_version 1.1;
 | 
					        proxy_http_version 1.1;
 | 
				
			||||||
        proxy_set_header Upgrade $http_upgrade;
 | 
					        proxy_set_header Upgrade $http_upgrade;
 | 
				
			||||||
        proxy_set_header Connection "upgrade";
 | 
					        proxy_set_header Connection "upgrade";
 | 
				
			||||||
    }
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,13 +1,11 @@
 | 
				
			|||||||
worker_processes auto;
 | 
					worker_processes auto;
 | 
				
			||||||
pid /tmp/nginx.pid;
 | 
					pid /tmp/nginx.pid;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
events
 | 
					events {
 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    worker_connections 1024;
 | 
					    worker_connections 1024;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
http
 | 
					http {
 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    sendfile on;
 | 
					    sendfile on;
 | 
				
			||||||
    tcp_nopush on;
 | 
					    tcp_nopush on;
 | 
				
			||||||
    tcp_nodelay on;
 | 
					    tcp_nodelay on;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user