stockholm/lass/2configs/services/git/proxy.nix
2023-03-14 06:34:12 +01:00

14 lines
297 B
Nix

{ config, pkgs, ... }:
{
services.nginx.virtualHosts."cgit.lassul.us" = {
forceSSL = true;
enableACME = true;
acmeFallbackHost = "orange.r";
locations."/" = {
proxyPass = "http://orange.r";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
}