nixos-config/modules/system/services/server/icecast/nginx/default.nix

12 lines
267 B
Nix
Raw Normal View History

2025-02-25 01:37:56 -05:00
{ config, lib, ... }:
2024-10-09 03:36:08 -04:00
{
2025-02-25 03:03:43 -05:00
services.nginx.virtualHosts."radio.nixfox.ca" = lib.mkIf config.services.icecast.enable {
enableACME = true;
forceSSL = true;
locations."/" = {
2025-01-16 00:41:00 -05:00
proxyPass = "http://127.0.0.1:73";
proxyWebsockets = true;
};
};
}