summaryrefslogtreecommitdiffstats
path: root/lass/2configs/services/git/proxy.nix
blob: cb05c3f6c5bf2a0df7807ac43db8548b00b31c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, pkgs, ... }:
{
  services.nginx.virtualHosts."cgit.lassul.us" = {
    forceSSL = true;
    enableACME = true;
    acmeFallbackHost = "orange.r";
    locations."/" = {
      proxyPass = "http://orange.r";
      proxyWebsockets = true;
      recommendedProxySettings = true;
    };
  };
}