From 67ddf074edec7631067c5f634c3e56e0848cd11f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 30 Jan 2019 17:20:43 -0800 Subject: Build production machine locally --- deploy.nix | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 deploy.nix (limited to 'deploy.nix') diff --git a/deploy.nix b/deploy.nix deleted file mode 100644 index d3a23d9..0000000 --- a/deploy.nix +++ /dev/null @@ -1,36 +0,0 @@ -# Nix config for the main biz machine. - -{ pkgs -, config -, ..., -}: - -{ - imports = [ ./ibb/module.nix ]; - nixpkgs.config.packageOverrides = pkgs: { - ibb = import ./ibb/default.nix {}; - }; - services = { - - ibb.enable = true; - - nginx = { - enable = true; - recommendedGzipSettings = true; - recommendedOptimisation = true; - recommendedProxySettings = true; - recommendedTlsSettings = true; - virtualHosts = { - "ibb.buildmindful.com" = { - forceSSL = true; - enableACME = true; - locations = { - "/" = { - proxyPass = "http://localhost:3000"; - }; - }; - }; - }; - }; - }; -} -- cgit v1.2.3