From 840310cbc93aaff99e66dfe19e7d730e45ad327e Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 26 Jan 2019 13:26:21 -0800 Subject: Added the nix deploy file for IBB. --- deploy.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 deploy.nix diff --git a/deploy.nix b/deploy.nix new file mode 100644 index 0000000..3fb458b --- /dev/null +++ b/deploy.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs }: + nixpkgs = { + config = { + allowUnfree = true; + allowBroken = true; + }; + }; + services.nginx = { + enable = true; + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedProxySettings = true; + recommendedTlsSettings = true; + virtualHosts."ibb.buildmindful.com" = { + enableACME = true; + forceSSL = true; + root = "/"; + locations."/".proxyPass = "https://localhost:3000"; + } +} + -- cgit v1.2.3