diday.org: remove (not-working) did.hamburg.ccc.de extra domain name
This commit is contained in:
parent
9d3945e189
commit
9a9f1c774c
1 changed files with 0 additions and 28 deletions
|
|
@ -6,10 +6,6 @@ let
|
||||||
deployUser = "diday-website-deploy";
|
deployUser = "diday-website-deploy";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
security.acme.certs."${domain}".extraDomainNames = [
|
|
||||||
"did.hamburg.ccc.de"
|
|
||||||
];
|
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"acme-${domain}" = {
|
"acme-${domain}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
@ -27,30 +23,6 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"did.hamburg.ccc.de" = {
|
|
||||||
forceSSL = true;
|
|
||||||
useACMEHost = "${domain}";
|
|
||||||
|
|
||||||
listen = [
|
|
||||||
{
|
|
||||||
addr = "[::]";
|
|
||||||
port = 8443;
|
|
||||||
ssl = true;
|
|
||||||
proxyProtocol = true;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
addr = "0.0.0.0";
|
|
||||||
port = 8443;
|
|
||||||
ssl = true;
|
|
||||||
proxyProtocol = true;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
return 301 https://diday.org;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"${domain}" = {
|
"${domain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "${domain}";
|
useACMEHost = "${domain}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue