kvmd-nginx-mkconf: Render nginx config with kvmd settings

This commit is contained in:
Maxim Devaev
2024-02-03 16:11:34 +02:00
parent 272e3bf5e9
commit 8d702f8cc2
15 changed files with 160 additions and 23 deletions

View File

@@ -742,6 +742,16 @@ def _get_config_scheme() -> dict:
},
},
"nginx": {
"http": {
"port": Option(80, type=valid_port),
},
"https": {
"enabled": Option(True, type=valid_bool),
"port": Option(443, type=valid_port),
},
},
"janus": {
"stun": {
"host": Option("stun.l.google.com", type=valid_ip_or_host, unpack_as="stun_host"),