fuck around with the dns until it works
This commit is contained in:
parent
ce9e828a85
commit
ec0daf01dd
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
||||||
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "https://nas.int.chir.rs";
|
proxyPass = "https://hydra.int.chir.rs";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_ssl_server_name on;
|
proxy_ssl_server_name on;
|
||||||
|
|
|
@ -8,7 +8,7 @@ in
|
||||||
SOA = {
|
SOA = {
|
||||||
nameServer = "ns1.chir.rs.";
|
nameServer = "ns1.chir.rs.";
|
||||||
adminEmail = "lotte@chir.rs";
|
adminEmail = "lotte@chir.rs";
|
||||||
serial = 10;
|
serial = 11;
|
||||||
};
|
};
|
||||||
NS = [
|
NS = [
|
||||||
"ns1.chir.rs."
|
"ns1.chir.rs."
|
||||||
|
@ -246,6 +246,7 @@ in
|
||||||
minio-console.CNAME = [ (ttl zoneTTL (cname "nixos-8gb-fsn1-1")) ];
|
minio-console.CNAME = [ (ttl zoneTTL (cname "nixos-8gb-fsn1-1")) ];
|
||||||
backup.CNAME = [ (ttl zoneTTL (cname "nas")) ];
|
backup.CNAME = [ (ttl zoneTTL (cname "nas")) ];
|
||||||
hydra.CNAME = [ (ttl zoneTTL (cname "nas")) ];
|
hydra.CNAME = [ (ttl zoneTTL (cname "nas")) ];
|
||||||
|
mastodon.CNAME = [ (ttl zoneTTL (cname "nas")) ];
|
||||||
_acme-challenge = delegateTo [
|
_acme-challenge = delegateTo [
|
||||||
"ns1.chir.rs."
|
"ns1.chir.rs."
|
||||||
"ns2.chir.rs."
|
"ns2.chir.rs."
|
||||||
|
|
Loading…
Reference in a new issue