diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-07 00:05:26 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-07 00:05:26 +0100 |
commit | 706060700aac9221861c29db639e89b9600e2f09 (patch) | |
tree | 9bad246e55e28f273a48710f5df365c586f2fa2e /nixops/modules/websites/ftp | |
parent | 99b0b74ac87c77b5f39e21c65141d8fcc6753ca2 (diff) | |
download | Nix-706060700aac9221861c29db639e89b9600e2f09.tar.gz Nix-706060700aac9221861c29db639e89b9600e2f09.tar.zst Nix-706060700aac9221861c29db639e89b9600e2f09.zip |
Add bouya.org and outils.immae.eu domains
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 | } |