14 lines
297 B
Nix
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;
|
|
};
|
|
};
|
|
}
|