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
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:
parent
9ac74c1c86
commit
ac2ee93cb6
1 changed files with 12 additions and 3 deletions
|
@ -23,6 +23,7 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.skynet.acme.domains = [
|
services.skynet.acme.domains = [
|
||||||
|
"www.skynet.ie"
|
||||||
"discord.skynet.ie"
|
"discord.skynet.ie"
|
||||||
"public.skynet.ie"
|
"public.skynet.ie"
|
||||||
];
|
];
|
||||||
|
@ -34,6 +35,11 @@ in {
|
||||||
r_type = "A";
|
r_type = "A";
|
||||||
value = config.services.skynet.host.ip;
|
value = config.services.skynet.host.ip;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
record = "www";
|
||||||
|
r_type = "CNAME";
|
||||||
|
value = config.services.skynet.host.name;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
record = "discord";
|
record = "discord";
|
||||||
r_type = "CNAME";
|
r_type = "CNAME";
|
||||||
|
@ -47,9 +53,8 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts = {
|
virtualHosts = let
|
||||||
# main site
|
main_site = {
|
||||||
"skynet.ie" = {
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "skynet";
|
useACMEHost = "skynet";
|
||||||
locations = {
|
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
|
# a custom discord url, because we are too cheap otehrwise
|
||||||
"discord.skynet.ie" = {
|
"discord.skynet.ie" = {
|
||||||
|
|
Loading…
Reference in a new issue