19 lines
362 B
Nix
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;
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|