aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/piedsjaloux
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-22 20:07:14 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-10-23 01:43:33 +0200
commit750fe5a43b957b91a26069cf8a4fe19fc7b2633c (patch)
tree79b4fb8d49ad7a38884e8453349635a7f715ad7e /modules/private/websites/piedsjaloux
parentfcbdf67afe262bf6b35a4047956b2f8c12a04cb1 (diff)
downloadNix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.gz
Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.zst
Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.zip
Remove webappdirs
Diffstat (limited to 'modules/private/websites/piedsjaloux')
-rw-r--r--modules/private/websites/piedsjaloux/integration.nix4
-rw-r--r--modules/private/websites/piedsjaloux/production.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/private/websites/piedsjaloux/integration.nix b/modules/private/websites/piedsjaloux/integration.nix
index f501eba..437b127 100644
--- a/modules/private/websites/piedsjaloux/integration.nix
+++ b/modules/private/websites/piedsjaloux/integration.nix
@@ -80,7 +80,7 @@ in {
80 certName = "integration"; 80 certName = "integration";
81 addToCerts = true; 81 addToCerts = true;
82 hosts = [ "piedsjaloux.immae.eu" ]; 82 hosts = [ "piedsjaloux.immae.eu" ];
83 root = pcfg.webappDirs.piedsjaloux_integration; 83 root = app.webRoot;
84 extraConfig = [ 84 extraConfig = [
85 '' 85 ''
86 <FilesMatch "\.php$"> 86 <FilesMatch "\.php$">
@@ -93,7 +93,7 @@ in {
93 ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://piedsjaloux.fr\"></html>" 93 ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://piedsjaloux.fr\"></html>"
94 </Location> 94 </Location>
95 95
96 <Directory ${pcfg.webappDirs.piedsjaloux_integration}> 96 <Directory ${app.webRoot}>
97 Options Indexes FollowSymLinks MultiViews Includes 97 Options Indexes FollowSymLinks MultiViews Includes
98 AllowOverride None 98 AllowOverride None
99 Require all granted 99 Require all granted
diff --git a/modules/private/websites/piedsjaloux/production.nix b/modules/private/websites/piedsjaloux/production.nix
index fed5a0f..118846d 100644
--- a/modules/private/websites/piedsjaloux/production.nix
+++ b/modules/private/websites/piedsjaloux/production.nix
@@ -83,7 +83,7 @@ in {
83 certName = "piedsjaloux"; 83 certName = "piedsjaloux";
84 certMainHost = "piedsjaloux.fr"; 84 certMainHost = "piedsjaloux.fr";
85 hosts = [ "piedsjaloux.fr" "www.piedsjaloux.fr" ]; 85 hosts = [ "piedsjaloux.fr" "www.piedsjaloux.fr" ];
86 root = pcfg.webappDirs.piedsjaloux_production; 86 root = app.webRoot;
87 extraConfig = [ 87 extraConfig = [
88 '' 88 ''
89 RewriteEngine on 89 RewriteEngine on
@@ -96,7 +96,7 @@ in {
96 96
97 Use Stats piedsjaloux.fr 97 Use Stats piedsjaloux.fr
98 98
99 <Directory ${pcfg.webappDirs.piedsjaloux_production}> 99 <Directory ${app.webRoot}>
100 Options Indexes FollowSymLinks MultiViews Includes 100 Options Indexes FollowSymLinks MultiViews Includes
101 AllowOverride All 101 AllowOverride All
102 Require all granted 102 Require all granted