feat: www.skynet.ie
All checks were successful
Build_Deploy / linter (push) Successful in 6s
Build_Deploy / build (push) Successful in 16s
Build_Deploy / deploy_dns (push) Successful in 57s
Build_Deploy / deploy_active (active) (push) Successful in 59s
Build_Deploy / deploy_active (active-core) (push) Successful in 1m33s
Build_Deploy / deploy_active (active-ext) (push) Successful in 30s

This commit is contained in:
silver 2025-01-05 21:32:29 +00:00
parent 9ac74c1c86
commit ac2ee93cb6
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -23,6 +23,7 @@ in {
config = mkIf cfg.enable {
services.skynet.acme.domains = [
"www.skynet.ie"
"discord.skynet.ie"
"public.skynet.ie"
];
@ -34,6 +35,11 @@ in {
r_type = "A";
value = config.services.skynet.host.ip;
}
{
record = "www";
r_type = "CNAME";
value = config.services.skynet.host.name;
}
{
record = "discord";
r_type = "CNAME";
@ -47,9 +53,8 @@ in {
];
services.nginx = {
virtualHosts = {
# main site
"skynet.ie" = {
virtualHosts = let
main_site = {
forceSSL = true;
useACMEHost = "skynet";
locations = {
@ -62,6 +67,10 @@ in {
};
};
};
in {
# main site
"www.skynet.ie" = main_site;
"skynet.ie" = main_site;
# a custom discord url, because we are too cheap otehrwise
"discord.skynet.ie" = {