stockholm/lass/2configs/services/git/proxy.nix

14 lines
297 B
Nix
Raw Normal View History

2023-03-14 05:34:12 +00:00
{ config, pkgs, ... }:
{
services.nginx.virtualHosts."cgit.lassul.us" = {
forceSSL = true;
enableACME = true;
acmeFallbackHost = "orange.r";
locations."/" = {
proxyPass = "http://orange.r";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
}