From cbc248ed9c13781b3beca56c902531b3ae056041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 28 Dec 2018 17:04:26 +0100 Subject: Remove nginx configuration --- virtual/eldiron.nix | 44 -------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/virtual/eldiron.nix b/virtual/eldiron.nix index 55b0bf7..38f753c 100644 --- a/virtual/eldiron.nix +++ b/virtual/eldiron.nix @@ -135,50 +135,6 @@ ]; }; - services.nginx = rec { - enable = false; - virtualHosts = { - "_" = { - serverName = "_"; - useACMEHost = "eldiron"; - }; - "eldiron.immae.eu" = { - forceSSL = true; - useACMEHost = "eldiron"; - locations."/" = { - # FIXME: directory needs to exist - root = "/var/www"; - extraConfig = '' - include ${pkgs.nginx}/conf/fastcgi.conf; - fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_param HTTP_PROXY ""; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_pass unix:/var/run/phpfpm/www.sock; - fastcgi_index index.php; - fastcgi_intercept_errors on; - ''; - }; - }; - "db-1.immae.eu" = { - forceSSL = true; - useACMEHost = "eldiron"; - locations."/adminer" = { - alias = mypkgs.adminer; - index = "index.php"; - extraConfig = '' - include ${pkgs.nginx}/conf/fastcgi.conf; - fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_param HTTP_PROXY ""; - fastcgi_param SCRIPT_FILENAME ${mypkgs.adminer}/index.php; - fastcgi_pass unix:/var/run/phpfpm/adminer.sock; - fastcgi_index index.php; - fastcgi_intercept_errors on; - ''; - }; - }; - }; - }; - # FIXME: environment variables ? security.pam.services = let pam_ldap = pkgs.pam_ldap; -- cgit v1.2.3