diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-22 20:10:54 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-23 01:44:51 +0200 |
commit | 41cce84a02652e22ad967c9f31669092eb3e7f0e (patch) | |
tree | b546e5a7524a00cd353b0d0e82e4dff038166dc1 /modules/private/websites/tools | |
parent | 750fe5a43b957b91a26069cf8a4fe19fc7b2633c (diff) | |
download | Nix-41cce84a02652e22ad967c9f31669092eb3e7f0e.tar.gz Nix-41cce84a02652e22ad967c9f31669092eb3e7f0e.tar.zst Nix-41cce84a02652e22ad967c9f31669092eb3e7f0e.zip |
Move devtools to other place
Diffstat (limited to 'modules/private/websites/tools')
-rw-r--r-- | modules/private/websites/tools/tools/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/private/websites/tools/tools/default.nix b/modules/private/websites/tools/tools/default.nix index 499ef91..9052473 100644 --- a/modules/private/websites/tools/tools/default.nix +++ b/modules/private/websites/tools/tools/default.nix | |||
@@ -121,14 +121,14 @@ in { | |||
121 | certMainHost = "devtools.immae.eu"; | 121 | certMainHost = "devtools.immae.eu"; |
122 | addToCerts = true; | 122 | addToCerts = true; |
123 | hosts = [ "devtools.immae.eu" ]; | 123 | hosts = [ "devtools.immae.eu" ]; |
124 | root = "/var/lib/ftp/devtools.immae.eu"; | 124 | root = "/var/lib/ftp/immae/devtools"; |
125 | extraConfig = [ | 125 | extraConfig = [ |
126 | '' | 126 | '' |
127 | Use Apaxy "/var/lib/ftp/devtools.immae.eu" "title" | 127 | Use Apaxy "/var/lib/ftp/immae/devtools" "title" |
128 | Timeout 600 | 128 | Timeout 600 |
129 | ProxyTimeout 600 | 129 | ProxyTimeout 600 |
130 | Header always set Content-Security-Policy-Report-Only "${config.myEnv.tools.csp_reports.policies.inline}" | 130 | Header always set Content-Security-Policy-Report-Only "${config.myEnv.tools.csp_reports.policies.inline}" |
131 | <Directory "/var/lib/ftp/devtools.immae.eu"> | 131 | <Directory "/var/lib/ftp/immae/devtools"> |
132 | DirectoryIndex index.php index.htm index.html | 132 | DirectoryIndex index.php index.htm index.html |
133 | AllowOverride all | 133 | AllowOverride all |
134 | Require all granted | 134 | Require all granted |
@@ -339,7 +339,7 @@ in { | |||
339 | "pm.min_spare_servers" = "1"; | 339 | "pm.min_spare_servers" = "1"; |
340 | "pm.max_spare_servers" = "10"; | 340 | "pm.max_spare_servers" = "10"; |
341 | 341 | ||
342 | "php_admin_value[open_basedir]" = "/run/wrappers/bin/sendmail:/var/lib/ftp/devtools.immae.eu:/tmp"; | 342 | "php_admin_value[open_basedir]" = "/run/wrappers/bin/sendmail:/var/lib/ftp/immae/devtools:/tmp"; |
343 | }; | 343 | }; |
344 | phpPackage = pkgs.php72.withExtensions({ enabled, all }: enabled ++ [all.mysqli all.redis all.apcu all.opcache ]); | 344 | phpPackage = pkgs.php72.withExtensions({ enabled, all }: enabled ++ [all.mysqli all.redis all.apcu all.opcache ]); |
345 | }; | 345 | }; |