xray and nginx improvements
This commit is contained in:
parent
694a4e7605
commit
032a5f4b04
6 changed files with 7 additions and 7 deletions
|
|
@ -24,6 +24,7 @@
|
|||
privateKey = secret.marzban.privateKey;
|
||||
shortId = secret.marzban.shortId;
|
||||
spiderX = secret.marzban.spiderX;
|
||||
sni = secret.marzban.sni;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -15,10 +15,6 @@
|
|||
default marzban;
|
||||
}
|
||||
|
||||
upstream git {
|
||||
server 127.0.0.1:444;
|
||||
}
|
||||
|
||||
upstream marzban {
|
||||
server 127.0.0.1:1080;
|
||||
}
|
||||
|
|
@ -30,7 +26,7 @@
|
|||
ssl_preread on;
|
||||
proxy_connect_timeout 30s;
|
||||
proxy_timeout 1h;
|
||||
proxy_buffer_size 64k;
|
||||
proxy_buffer_size 16k;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue