3x-ui on server

This commit is contained in:
2026-08-09 23:51:49 +03:00
parent 5b3da95fc2
commit e66bbef553
5 changed files with 42 additions and 16 deletions
+22
View File
@@ -64,6 +64,28 @@ in
client_max_body_size 5G;
'';
};
"x.zeroq.su" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://${server}:2049";
proxyWebsockets = true;
};
"/subs/" = {
proxyPass = "http://${server}:2096";
proxyWebsockets = true;
};
"/subsjs/" = {
proxyPass = "http://${server}:2096";
proxyWebsockets = true;
};
"/clash/" = {
proxyPass = "http://${server}:2096";
proxyWebsockets = true;
};
};
};
# "pdf.home.arpa" = {
# forceSSL = true;
# enableACME = true;