2023-06-02 12:45:51 +05:30
|
|
|
{...}: {
|
|
|
|
virtualisation.oci-containers.containers."adtya.xyz" = {
|
|
|
|
image = "ghcr.io/adtya/adtya.xyz:latest";
|
|
|
|
ports = ["3000:80"];
|
|
|
|
};
|
|
|
|
|
|
|
|
services.caddy.virtualHosts."adtya.xyz" = {
|
|
|
|
hostName = "adtya.xyz";
|
2023-06-02 12:52:48 +05:30
|
|
|
serverAliases = ["www.adtya.xyz"];
|
2023-06-02 12:45:51 +05:30
|
|
|
extraConfig = ''
|
|
|
|
reverse_proxy http://127.0.0.1:3000
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|