aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/florian/app.nix
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/florian/app.nix
parentfcbdf67afe262bf6b35a4047956b2f8c12a04cb1 (diff)
downloadNix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.gz
Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.tar.zst
Nix-750fe5a43b957b91a26069cf8a4fe19fc7b2633c.zip
Remove webappdirs
Diffstat (limited to 'modules/private/websites/florian/app.nix')
-rw-r--r--modules/private/websites/florian/app.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/websites/florian/app.nix b/modules/private/websites/florian/app.nix
index 87e622a..5e6255c 100644
--- a/modules/private/websites/florian/app.nix
+++ b/modules/private/websites/florian/app.nix
@@ -81,7 +81,7 @@ in {
81 certName = "integration"; 81 certName = "integration";
82 addToCerts = true; 82 addToCerts = true;
83 hosts = [ "app.tellesflorian.com" ]; 83 hosts = [ "app.tellesflorian.com" ];
84 root = pcfg.webappDirs.florian_app; 84 root = app.webRoot;
85 extraConfig = [ 85 extraConfig = [
86 '' 86 ''
87 <FilesMatch "\.php$"> 87 <FilesMatch "\.php$">
@@ -99,7 +99,7 @@ in {
99 ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://tellesflorian.com\"></html>" 99 ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://tellesflorian.com\"></html>"
100 </Location> 100 </Location>
101 101
102 <Directory ${pcfg.webappDirs.florian_app}> 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