dotfiles/common/users/docker/sonarr/nginx.nix
2025-03-12 22:01:36 -04:00

19 lines
353 B
Nix

{ ... }:
{
services = {
nginx = {
virtualHosts = {
"sonarr.sadan.zip" = {
forceSSL = true;
useACMEHost = "sadan.zip";
locations = {
"/" = {
proxyPass = "http://localhost:8989";
proxyWebsockets = true;
};
};
};
};
};
};
}