about summary refs log blame commit diff
path: root/ops/modules/www/nixery.dev.nix
blob: 05dc88c66a071d1fc7d33b32fc161b5276d52df5 (plain) (tree)



















                                                                                    
{ config, ... }:

{
  imports = [
    ./base.nix
  ];

  config = {
    services.nginx.virtualHosts."nixery.dev" = {
      serverName = "nixery.dev";
      enableACME = true;
      forceSSL = true;

      extraConfig = ''
        location / {
          proxy_pass http://localhost:${toString config.services.depot.nixery.port};
        }
      '';
    };
  };
}