aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/immae
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-09-07 11:02:12 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-09-07 11:02:12 +0200
commitc75b75a2e15cc6ea665e5e51629c528ebc31fcd3 (patch)
tree53eae667f2c0dd936bf1cddf55519e2bb9412fad /modules/private/websites/immae
parent93531b30f0c08f6c549fac338a1cb8070c3c0a9a (diff)
downloadNix-c75b75a2e15cc6ea665e5e51629c528ebc31fcd3.tar.gz
Nix-c75b75a2e15cc6ea665e5e51629c528ebc31fcd3.tar.zst
Nix-c75b75a2e15cc6ea665e5e51629c528ebc31fcd3.zip
Remove php from immae.eu
Diffstat (limited to 'modules/private/websites/immae')
-rw-r--r--modules/private/websites/immae/production.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix
index f19823a..6b88ff2 100644
--- a/modules/private/websites/immae/production.nix
+++ b/modules/private/websites/immae/production.nix
@@ -9,25 +9,6 @@ in {
9 config = lib.mkIf cfg.enable { 9 config = lib.mkIf cfg.enable {
10 services.webstats.sites = [ { name = "www.immae.eu"; } ]; 10 services.webstats.sites = [ { name = "www.immae.eu"; } ];
11 11
12 services.phpfpm.pools.immae = {
13 listen = "/run/phpfpm/immae.sock";
14 extraConfig = ''
15 user = wwwrun
16 group = wwwrun
17 listen.owner = wwwrun
18 listen.group = wwwrun
19
20 pm = ondemand
21 pm.max_children = 5
22 pm.process_idle_timeout = 60
23
24 php_admin_value[open_basedir] = "${varDir}:/tmp"
25 '';
26 phpOptions = config.services.phpfpm.phpOptions + ''
27 extension=${pkgs.php}/lib/php/extensions/mysqli.so
28 '';
29 };
30 services.websites.env.production.modules = [ "proxy_fcgi" ];
31 services.websites.env.production.vhostConfs.immae = { 12 services.websites.env.production.vhostConfs.immae = {
32 certName = "eldiron"; 13 certName = "eldiron";
33 addToCerts = true; 14 addToCerts = true;
@@ -37,10 +18,6 @@ in {
37 '' 18 ''
38 Use Stats www.immae.eu 19 Use Stats www.immae.eu
39 20
40 <FilesMatch "\.php$">
41 SetHandler "proxy:unix:/run/phpfpm/immae.sock|fcgi://localhost"
42 </FilesMatch>
43
44 <Directory ${varDir}> 21 <Directory ${varDir}>
45 DirectoryIndex index.php index.htm index.html 22 DirectoryIndex index.php index.htm index.html
46 Options Indexes FollowSymLinks MultiViews Includes 23 Options Indexes FollowSymLinks MultiViews Includes