mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 13:16:06 +08:00
Update nginx.conf
This commit is contained in:
parent
39cf4cb91d
commit
9e5c3bf129
@ -2,9 +2,9 @@ server {
|
||||
listen 80 http2 proxy_protocol;
|
||||
set_real_ip_from 127.0.0.1;
|
||||
real_ip_header proxy_protocol;
|
||||
server_name v2raydomain.xxx;
|
||||
server_name xraydomain.xxx;
|
||||
index xxxx;
|
||||
root /love/v2ray;
|
||||
root /love/xray;
|
||||
}
|
||||
|
||||
server {
|
||||
@ -27,11 +27,11 @@ server {
|
||||
|
||||
stream {
|
||||
map $ssl_preread_server_name $backend_name {
|
||||
v2raydomain.xxx v2ray;
|
||||
xraydomain.xxx xray;
|
||||
default web;
|
||||
}
|
||||
|
||||
upstream v2ray {
|
||||
upstream xray {
|
||||
server 127.0.0.1:8080;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user