diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-22 20:07:14 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-23 01:43:33 +0200 |
commit | 750fe5a43b957b91a26069cf8a4fe19fc7b2633c (patch) | |
tree | 79b4fb8d49ad7a38884e8453349635a7f715ad7e /modules/private/websites/ludivine | |
parent | fcbdf67afe262bf6b35a4047956b2f8c12a04cb1 (diff) | |
download | Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.gz Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.zst Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.zip |
Remove webappdirs
Diffstat (limited to 'modules/private/websites/ludivine')
-rw-r--r-- | modules/private/websites/ludivine/integration.nix | 4 | ||||
-rw-r--r-- | modules/private/websites/ludivine/production.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/private/websites/ludivine/integration.nix b/modules/private/websites/ludivine/integration.nix index cfef385..99c9acf 100644 --- a/modules/private/websites/ludivine/integration.nix +++ b/modules/private/websites/ludivine/integration.nix | |||
@@ -90,7 +90,7 @@ in { | |||
90 | certName = "integration"; | 90 | certName = "integration"; |
91 | addToCerts = true; | 91 | addToCerts = true; |
92 | hosts = [ "ludivine.immae.eu" ]; | 92 | hosts = [ "ludivine.immae.eu" ]; |
93 | root = pcfg.webappDirs.ludivine_integration; | 93 | root = app.webRoot; |
94 | extraConfig = [ | 94 | extraConfig = [ |
95 | '' | 95 | '' |
96 | <FilesMatch "\.php$"> | 96 | <FilesMatch "\.php$"> |
@@ -103,7 +103,7 @@ in { | |||
103 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://ludivinecassal.com\"></html>" | 103 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://ludivinecassal.com\"></html>" |
104 | </Location> | 104 | </Location> |
105 | 105 | ||
106 | <Directory ${pcfg.webappDirs.ludivine_integration}> | 106 | <Directory ${app.webRoot}> |
107 | Options Indexes FollowSymLinks MultiViews Includes | 107 | Options Indexes FollowSymLinks MultiViews Includes |
108 | AllowOverride None | 108 | AllowOverride None |
109 | Require all granted | 109 | Require all granted |
diff --git a/modules/private/websites/ludivine/production.nix b/modules/private/websites/ludivine/production.nix index 73b63a2..09bb3dc 100644 --- a/modules/private/websites/ludivine/production.nix +++ b/modules/private/websites/ludivine/production.nix | |||
@@ -93,7 +93,7 @@ in { | |||
93 | certName = "ludivine"; | 93 | certName = "ludivine"; |
94 | certMainHost = "ludivinecassal.com"; | 94 | certMainHost = "ludivinecassal.com"; |
95 | hosts = ["ludivinecassal.com" "www.ludivinecassal.com" ]; | 95 | hosts = ["ludivinecassal.com" "www.ludivinecassal.com" ]; |
96 | root = pcfg.webappDirs.ludivine_production; | 96 | root = app.webRoot; |
97 | extraConfig = [ | 97 | extraConfig = [ |
98 | '' | 98 | '' |
99 | RewriteEngine on | 99 | RewriteEngine on |
@@ -106,7 +106,7 @@ in { | |||
106 | 106 | ||
107 | Use Stats ludivinecassal.com | 107 | Use Stats ludivinecassal.com |
108 | 108 | ||
109 | <Directory ${pcfg.webappDirs.ludivine_production}> | 109 | <Directory ${app.webRoot}> |
110 | Options Indexes FollowSymLinks MultiViews Includes | 110 | Options Indexes FollowSymLinks MultiViews Includes |
111 | AllowOverride All | 111 | AllowOverride All |
112 | Require all granted | 112 | Require all granted |