diff options
author | lassulus <git@lassul.us> | 2023-03-14 06:34:12 +0100 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-03-14 06:34:12 +0100 |
commit | b2eb88a67e771a93efead57ec13cb9c00e118d62 (patch) | |
tree | 36c7977844170cab527b9cf509f251788bfe05f6 /lass/2configs/services/git/proxy.nix | |
parent | 8e4d0b73e889cc1d08d176eba7f5afeb7cbfaf74 (diff) |
l orange.r: add git/cgit
Diffstat (limited to 'lass/2configs/services/git/proxy.nix')
-rw-r--r-- | lass/2configs/services/git/proxy.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lass/2configs/services/git/proxy.nix b/lass/2configs/services/git/proxy.nix new file mode 100644 index 000000000..cb05c3f6c --- /dev/null +++ b/lass/2configs/services/git/proxy.nix @@ -0,0 +1,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; + }; + }; +} |