aboutsummaryrefslogtreecommitdiff
path: root/modules/private
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-20 01:53:13 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-12-20 04:12:30 +0100
commit8cf37c75c3c744717327344ff982a62d787c1dc7 (patch)
tree68568e9e90f44ebae5b52c08037eae5981e641ea /modules/private
parentddaa9caff97e801c9299ec9d952c547313e942f0 (diff)
downloadNix-8cf37c75c3c744717327344ff982a62d787c1dc7.tar.gz
Nix-8cf37c75c3c744717327344ff982a62d787c1dc7.tar.zst
Nix-8cf37c75c3c744717327344ff982a62d787c1dc7.zip
Handle immae.fr from eldiron
Diffstat (limited to 'modules/private')
-rw-r--r--modules/private/websites/immae/production.nix10
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;