diff options
Diffstat (limited to 'modules/private/websites')
-rw-r--r-- | modules/private/websites/immae/production.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index 12d6ddb..87bb848 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix | |||
@@ -46,6 +46,16 @@ in { | |||
46 | ]; | 46 | ]; |
47 | }; | 47 | }; |
48 | 48 | ||
49 | services.websites.env.production.vhostConfs.immaeFr = { | ||
50 | certName = "eldiron"; | ||
51 | addToCerts = true; | ||
52 | hosts = [ "www.immae.fr" "immae.fr" ]; | ||
53 | root = null; | ||
54 | extraConfig = [ '' | ||
55 | RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.immae.eu/chapeaux/ | ||
56 | '' ]; | ||
57 | }; | ||
58 | |||
49 | services.websites.env.production.vhostConfs.bouya = { | 59 | services.websites.env.production.vhostConfs.bouya = { |
50 | certName = "eldiron"; | 60 | certName = "eldiron"; |
51 | addToCerts = true; | 61 | addToCerts = true; |