diff options
author | Nick <nicksima@gmail.com> | 2019-01-26 13:26:21 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-01-28 12:07:42 -0800 |
commit | 840310cbc93aaff99e66dfe19e7d730e45ad327e (patch) | |
tree | b0e1144179d039a1b4b5200050c336bb9367c4b7 | |
parent | d2427069382ae74b824edec5b9b1c61d00617834 (diff) |
Added the nix deploy file for IBB.
-rw-r--r-- | deploy.nix | 21 |
1 files changed, 21 insertions, 0 deletions
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"; + } +} + |