2024-11-03 12:33:02 +01:00
|
|
|
{
|
|
|
|
services.nginx = {
|
2024-11-04 13:00:43 +01:00
|
|
|
virtualHosts."xn--xck.xyz" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/var/www/www.joygnu.org";
|
|
|
|
};
|
|
|
|
virtualHosts."joygnu.org" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/var/www/www.joygnu.org";
|
|
|
|
};
|
2024-11-03 12:33:02 +01:00
|
|
|
virtualHosts."www.joygnu.org" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/var/www/www.joygnu.org";
|
|
|
|
};
|
2024-11-06 17:01:38 +01:00
|
|
|
virtualHosts."4get.joygnu.org" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
locations."/".proxyPass = "http://localhost:8080";
|
|
|
|
};
|
2024-11-06 17:53:05 +01:00
|
|
|
virtualHosts."pin.joygnu.org" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
locations."/".proxyPass = "http://localhost:6060";
|
|
|
|
};
|
|
|
|
virtualHosts."trans.joygnu.org" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
locations."/".proxyPass = "http://localhost:5000";
|
|
|
|
};
|
2024-11-06 19:04:28 +01:00
|
|
|
virtualHosts."wallpapers.joygnu.org" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/var/www/wallpapers.joygnu.org";
|
|
|
|
};
|
2024-11-03 12:33:02 +01:00
|
|
|
};
|
|
|
|
security.acme.certs = {
|
|
|
|
"www.joygnu.org".email = "contact@joygnu.org";
|
|
|
|
};
|
|
|
|
}
|