diff options
Diffstat (limited to 'deploy.nix')
-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"; + } +} + |