nixcfg/systems/x86_64-linux/sgx/nginx.nix
Harald Hoyer 437cb4b606 feat(nginx): add new search.hoyer.world virtual host
- Introduced Nginx configuration for the `search.hoyer.world` domain.
- Ensures SSL enforcement and proper proxy settings for the new subdomain.
2026-02-06 12:51:24 +01:00

41 lines
1,006 B
Nix

{
config,
...
}:
{
services.nginx.virtualHosts = {
"openwebui.hoyer.world" = {
enableACME = false;
useACMEHost = "internal.hoyer.world";
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.open-webui.port}";
proxyWebsockets = true;
};
};
"syncthing.hoyer.world" = {
enableACME = false;
useACMEHost = "internal.hoyer.world";
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8384";
recommendedProxySettings = true;
};
};
"home.hoyer.world" = {
enableACME = false;
useACMEHost = "internal.hoyer.world";
forceSSL = true;
locations."/" = {
proxyPass = "http://192.168.178.49:8123";
recommendedProxySettings = true;
proxyWebsockets = true;
};
};
"search.hoyer.world" = {
enableACME = false;
useACMEHost = "search.hoyer.world";
forceSSL = true;
};
};
}