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/connexionswing | |
parent | fcbdf67afe262bf6b35a4047956b2f8c12a04cb1 (diff) | |
download | Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.gz Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.zst Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.zip |
Remove webappdirs
Diffstat (limited to 'modules/private/websites/connexionswing')
-rw-r--r-- | modules/private/websites/connexionswing/integration.nix | 4 | ||||
-rw-r--r-- | modules/private/websites/connexionswing/production.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/private/websites/connexionswing/integration.nix b/modules/private/websites/connexionswing/integration.nix index 1b3587a..93cda00 100644 --- a/modules/private/websites/connexionswing/integration.nix +++ b/modules/private/websites/connexionswing/integration.nix | |||
@@ -74,7 +74,7 @@ in { | |||
74 | certName = "integration"; | 74 | certName = "integration"; |
75 | addToCerts = true; | 75 | addToCerts = true; |
76 | hosts = ["connexionswing.immae.eu" "sandetludo.immae.eu" ]; | 76 | hosts = ["connexionswing.immae.eu" "sandetludo.immae.eu" ]; |
77 | root = pcfg.webappDirs.connexionswing_integration; | 77 | root = app.webRoot; |
78 | extraConfig = [ | 78 | extraConfig = [ |
79 | '' | 79 | '' |
80 | <FilesMatch "\.php$"> | 80 | <FilesMatch "\.php$"> |
@@ -99,7 +99,7 @@ in { | |||
99 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://connexionswing.com\"></html>" | 99 | ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://connexionswing.com\"></html>" |
100 | </Location> | 100 | </Location> |
101 | 101 | ||
102 | <Directory ${pcfg.webappDirs.connexionswing_integration}> | 102 | <Directory ${app.webRoot}> |
103 | Options Indexes FollowSymLinks MultiViews Includes | 103 | Options Indexes FollowSymLinks MultiViews Includes |
104 | AllowOverride None | 104 | AllowOverride None |
105 | Require all granted | 105 | Require all granted |
diff --git a/modules/private/websites/connexionswing/production.nix b/modules/private/websites/connexionswing/production.nix index 981e95e..144093a 100644 --- a/modules/private/websites/connexionswing/production.nix +++ b/modules/private/websites/connexionswing/production.nix | |||
@@ -79,7 +79,7 @@ in { | |||
79 | certName = "connexionswing"; | 79 | certName = "connexionswing"; |
80 | certMainHost = "connexionswing.com"; | 80 | certMainHost = "connexionswing.com"; |
81 | hosts = ["connexionswing.com" "sandetludo.com" "www.connexionswing.com" "www.sandetludo.com" ]; | 81 | hosts = ["connexionswing.com" "sandetludo.com" "www.connexionswing.com" "www.sandetludo.com" ]; |
82 | root = pcfg.webappDirs.connexionswing_production; | 82 | root = app.webRoot; |
83 | extraConfig = [ | 83 | extraConfig = [ |
84 | '' | 84 | '' |
85 | <FilesMatch "\.php$"> | 85 | <FilesMatch "\.php$"> |
@@ -100,7 +100,7 @@ in { | |||
100 | 100 | ||
101 | Use Stats connexionswing.com | 101 | Use Stats connexionswing.com |
102 | 102 | ||
103 | <Directory ${pcfg.webappDirs.connexionswing_production}> | 103 | <Directory ${app.webRoot}> |
104 | Options Indexes FollowSymLinks MultiViews Includes | 104 | Options Indexes FollowSymLinks MultiViews Includes |
105 | AllowOverride All | 105 | AllowOverride All |
106 | Require all granted | 106 | Require all granted |