mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-09-17 20:54:35 +08:00
combine
This commit is contained in:
@@ -34,7 +34,8 @@ http {
|
||||
|
||||
server {
|
||||
listen 127.0.0.1:8001;
|
||||
server_name yourserver_8001.com;
|
||||
listen 127.0.0.1:8002 http2;
|
||||
server_name yourserver.com;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
@@ -48,21 +49,4 @@ http {
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 127.0.0.1:8002 http2;
|
||||
server_name yourserver_8002.com;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
access_log logs/yourserver_8002.access.log main;
|
||||
|
||||
location / {
|
||||
root /var/www/html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user