NixOS-Config/modules/system/services/social/matrix/synapse/coturn/nginx/default.nix

14 lines
289 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ outputs, config, ... }:
{
services.nginx.virtualHosts."turn.${outputs.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
listen = [{
addr = "0.0.0.0";
port = 80;
ssl = false;
}];
locations."/".proxyPass = "http://127.0.0.1:1380";
};
}