refactor: adtya.xyz
This commit is contained in:
parent
03c6aff8fb
commit
922e47c83c
2 changed files with 47 additions and 44 deletions
|
@ -3,7 +3,8 @@
|
|||
adtya-xyz,
|
||||
...
|
||||
}: {
|
||||
services.caddy.virtualHosts."adtya.xyz" = {
|
||||
services = {
|
||||
caddy.virtualHosts."adtya.xyz" = {
|
||||
serverAliases = ["www.adtya.xyz"];
|
||||
extraConfig = ''
|
||||
handle /.well-known/matrix/server {
|
||||
|
@ -26,4 +27,30 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
frp.settings = {
|
||||
"http.adtya.xyz" = {
|
||||
type = "http";
|
||||
custom_domains = "adtya.xyz";
|
||||
local_port = 80;
|
||||
};
|
||||
|
||||
"https.adtya.xyz" = {
|
||||
type = "https";
|
||||
custom_domains = "adtya.xyz";
|
||||
local_port = 443;
|
||||
};
|
||||
|
||||
"http.www.adtya.xyz" = {
|
||||
type = "http";
|
||||
custom_domains = "www.adtya.xyz";
|
||||
local_port = 80;
|
||||
};
|
||||
|
||||
"https.www.adtya.xyz" = {
|
||||
type = "https";
|
||||
custom_domains = "www.adtya.xyz";
|
||||
local_port = 443;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,30 +22,6 @@ in {
|
|||
remote_port = 6002;
|
||||
};
|
||||
|
||||
"http.adtya.xyz" = {
|
||||
type = "http";
|
||||
custom_domains = "adtya.xyz";
|
||||
local_port = 80;
|
||||
};
|
||||
|
||||
"https.adtya.xyz" = {
|
||||
type = "https";
|
||||
custom_domains = "adtya.xyz";
|
||||
local_port = 443;
|
||||
};
|
||||
|
||||
"http.www.adtya.xyz" = {
|
||||
type = "http";
|
||||
custom_domains = "www.adtya.xyz";
|
||||
local_port = 80;
|
||||
};
|
||||
|
||||
"https.www.adtya.xyz" = {
|
||||
type = "https";
|
||||
custom_domains = "www.adtya.xyz";
|
||||
local_port = 443;
|
||||
};
|
||||
|
||||
"http.if3.adtya.xyz" = {
|
||||
type = "http";
|
||||
custom_domains = "if3.adtya.xyz";
|
||||
|
|
Loading…
Reference in a new issue