nixcfg/systems/x86_64-linux/amd/nginx.nix
2026-05-03 16:31:02 +02:00

19 lines
362 B
Nix

{
...
}:
{
services.nginx.virtualHosts = {
"opencode.amd.hoyer.world" = {
enableACME = false;
useACMEHost = "amd.hoyer.world";
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:4196";
proxyWebsockets = true;
extraConfig = ''
proxy_buffering off;
'';
};
};
};
}