logging: logs: default: level: INFO storage: "module": "file_system" "root": "/data" apps: tls: certificates: load_files: - certificate: "/etc/ssl/certs/livekit.crt" key: "/etc/ssl/certs/livekit.key" # automate: # - {{ livekit_wss_url }} # - {{ livekit_turn_url }} layer4: servers: main: listen: [":443"] routes: - match: - tls: sni: - "{{ livekit_turn_url }}" handle: - handler: tls - handler: proxy upstreams: - dial: ["{{ ansible_default_ipv4.address }}:5349"] - match: - tls: sni: - "{{ livekit_wss_url }}" handle: - handler: tls connection_policies: - alpn: ["http/1.1"] - handler: proxy upstreams: - dial: ["localhost:7880"]