aboutsummaryrefslogtreecommitdiffstats
path: root/roles/asterisk/templates/etc/asterisk/http.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/asterisk/templates/etc/asterisk/http.conf.j2')
-rw-r--r--roles/asterisk/templates/etc/asterisk/http.conf.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/asterisk/templates/etc/asterisk/http.conf.j2 b/roles/asterisk/templates/etc/asterisk/http.conf.j2
new file mode 100644
index 0000000..d9d92a1
--- /dev/null
+++ b/roles/asterisk/templates/etc/asterisk/http.conf.j2
@@ -0,0 +1,13 @@
+[general]
+servername = Asterisk
+enabled = yes
+bindaddr = 127.0.0.1
+bindport = {{ asterisk_http_port }}
+enable_status = no
+tlsenable = yes
+tlsbindaddr = 0.0.0.0:{{ asterisk_https_port }}
+tlscertfile = {{ asterisk_https_certificate_path }}
+tlsprivatekey = {{ asterisk_https_certificate_key_path }}
+tlsdisablev1 = yes
+tlsdisablev11 = yes
+tlsdisablev12 = no