summaryrefslogtreecommitdiff
path: root/deploy.nix
blob: 3fb458b281d05f6e45ff116cbc02138dcb4dae0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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";
      }
}