proxy protocol v2 in frp

This commit is contained in:
Adithya 2024-01-04 21:51:28 +05:30
parent e66affeb99
commit 19f43f031b
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
5 changed files with 12 additions and 0 deletions

View file

@ -12,12 +12,14 @@
type = "http";
custom_domains = "matrix.adtya.xyz";
local_port = 80;
proxy_protocol_version = "v2";
};
"https.matrix.adtya.xyz" = {
type = "https";
custom_domains = "matrix.adtya.xyz";
local_port = 443;
proxy_protocol_version = "v2";
};
};
};

View file

@ -40,24 +40,28 @@ in
type = "http";
custom_domains = "adtya.xyz";
local_port = 80;
proxy_protocol_version = "v2";
};
"https.adtya.xyz" = {
type = "https";
custom_domains = "adtya.xyz";
local_port = 443;
proxy_protocol_version = "v2";
};
"http.www.adtya.xyz" = {
type = "http";
custom_domains = "www.adtya.xyz";
local_port = 80;
proxy_protocol_version = "v2";
};
"https.www.adtya.xyz" = {
type = "https";
custom_domains = "www.adtya.xyz";
local_port = 443;
proxy_protocol_version = "v2";
};
};
};

View file

@ -23,12 +23,14 @@ in
type = "http";
custom_domains = "if3.adtya.xyz";
local_port = 80;
proxy_protocol_version = "v2";
};
"https.if3.adtya.xyz" = {
type = "https";
custom_domains = "if3.adtya.xyz";
local_port = 443;
proxy_protocol_version = "v2";
};
};
};

View file

@ -16,12 +16,14 @@
type = "http";
custom_domains = "proofs.adtya.xyz";
local_port = 80;
proxy_protocol_version = "v2";
};
"https.proofs.adtya.xyz" = {
type = "https";
custom_domains = "proofs.adtya.xyz";
local_port = 443;
proxy_protocol_version = "v2";
};
};
};

View file

@ -23,12 +23,14 @@ in
type = "http";
custom_domains = "wiki.adtya.xyz";
local_port = 80;
proxy_protocol_version = "v2";
};
"https.wiki.adtya.xyz" = {
type = "https";
custom_domains = "wiki.adtya.xyz";
local_port = 443;
proxy_protocol_version = "v2";
};
};
};