rico0: reverse proxy to frps dashboard

This commit is contained in:
Adithya 2024-07-14 18:19:42 +05:30
parent 964c85b2b2
commit 9d60ed9d1c
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -3,5 +3,12 @@ _: {
enable = true; enable = true;
acmeCA = "https://acme-v02.api.letsencrypt.org/directory"; acmeCA = "https://acme-v02.api.letsencrypt.org/directory";
email = "admin@acomputer.lol"; email = "admin@acomputer.lol";
virtualHosts."frp.local.adtya.xyz" = {
extraConfig = ''
reverse_proxy 10.10.10.1:7500
tls /persist/secrets/caddy/certs/frp.crt /persist/secrets/caddy/certs/frp.key
'';
};
}; };
} }