diff options
Diffstat (limited to 'nixops/modules/websites/ftp')
-rw-r--r-- | nixops/modules/websites/ftp/immae.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixops/modules/websites/ftp/immae.nix b/nixops/modules/websites/ftp/immae.nix index 6acfe44..64e6a59 100644 --- a/nixops/modules/websites/ftp/immae.nix +++ b/nixops/modules/websites/ftp/immae.nix | |||
@@ -65,5 +65,16 @@ in { | |||
65 | '' | 65 | '' |
66 | ]; | 66 | ]; |
67 | }; | 67 | }; |
68 | |||
69 | security.acme.certs."eldiron".extraDomains."bouya.org" = null; | ||
70 | security.acme.certs."eldiron".extraDomains."www.bouya.org" = null; | ||
71 | services.myWebsites.production.vhostConfs.bouya = { | ||
72 | certName = "eldiron"; | ||
73 | hosts = [ "bouya.org" "www.bouya.org" ]; | ||
74 | root = null; | ||
75 | extraConfig = [ '' | ||
76 | RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.normalesup.org/~bouya/ | ||
77 | '' ]; | ||
78 | }; | ||
68 | }; | 79 | }; |
69 | } | 80 | } |