mirror of
				https://github.com/v2fly/v2ray-examples.git
				synced 2025-11-04 03:45:39 +08:00 
			
		
		
		
	combine
This commit is contained in:
		@@ -22,7 +22,7 @@
 | 
			
		||||
                    },
 | 
			
		||||
                    {
 | 
			
		||||
                        "alpn": "h2",
 | 
			
		||||
                        "dest": "/dev/shm/h2.sock",
 | 
			
		||||
                        "dest": "/dev/shm/h2c.sock",
 | 
			
		||||
                        "xver": 1
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
 
 | 
			
		||||
@@ -45,28 +45,7 @@ http {
 | 
			
		||||
 | 
			
		||||
    server {
 | 
			
		||||
        listen       unix:/dev/shm/default.sock proxy_protocol;
 | 
			
		||||
        server_name  _;
 | 
			
		||||
        root         /usr/share/nginx/html;
 | 
			
		||||
 | 
			
		||||
        set_real_ip_from 127.0.0.1;
 | 
			
		||||
 | 
			
		||||
        # Load configuration files for the default server block.
 | 
			
		||||
        include /etc/nginx/default.d/*.conf;
 | 
			
		||||
 | 
			
		||||
        location / {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        error_page 404 /404.html;
 | 
			
		||||
            location = /40x.html {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        error_page 500 502 503 504 /50x.html;
 | 
			
		||||
            location = /50x.html {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    server {
 | 
			
		||||
        listen       unix:/dev/shm/h2.sock http2 proxy_protocol;
 | 
			
		||||
        listen       unix:/dev/shm/h2c.sock http2 proxy_protocol;
 | 
			
		||||
        server_name  _;
 | 
			
		||||
        root         /usr/share/nginx/html;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user