about summary refs log blame commit diff
path: root/ops/modules/www/images.tvl.fyi.nix
blob: 7d027b2991abf3aaca5350bde29a2f3996559c84 (plain) (tree)





















                                                                                    
{ config, ... }:

{
  imports = [
    ./base.nix
  ];

  config = {
    services.nginx.virtualHosts."images.tvl.fyi" = {
      serverName = "images.tvl.fyi";
      serverAliases = [ "images.tvl.su" ];
      enableACME = true;
      forceSSL = true;

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