2006-03-25 23:50:09 +00:00
|
|
|
;
|
|
|
|
; Asterisk Builtin mini-HTTP server
|
|
|
|
;
|
|
|
|
;
|
|
|
|
[general]
|
|
|
|
;
|
2006-10-22 19:09:25 +00:00
|
|
|
; Whether HTTP/HTTPS interface is enabled or not. Default is no.
|
|
|
|
; This also affects manager/rawman/mxml access (see manager.conf)
|
2006-03-25 23:50:09 +00:00
|
|
|
;
|
2006-04-01 08:49:54 +00:00
|
|
|
;enabled=yes
|
2006-03-25 23:50:09 +00:00
|
|
|
;
|
2006-04-01 08:49:54 +00:00
|
|
|
; Whether Asterisk should serve static content from http-static
|
|
|
|
; Default is no.
|
|
|
|
;
|
|
|
|
;enablestatic=yes
|
|
|
|
;
|
2006-10-22 19:09:25 +00:00
|
|
|
; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0
|
2006-03-25 23:50:09 +00:00
|
|
|
;
|
|
|
|
bindaddr=127.0.0.1
|
|
|
|
;
|
2006-10-22 19:09:25 +00:00
|
|
|
; Port to bind to for HTTP sessions (default is 8088)
|
2006-03-25 23:50:09 +00:00
|
|
|
;
|
2006-10-22 19:09:25 +00:00
|
|
|
;bindport=8088
|
2006-03-25 23:50:09 +00:00
|
|
|
;
|
|
|
|
; Prefix allows you to specify a prefix for all requests
|
|
|
|
; to the server. The default is "asterisk" so that all
|
|
|
|
; requests must begin with /asterisk
|
|
|
|
;
|
|
|
|
;prefix=asterisk
|
2006-10-22 19:09:25 +00:00
|
|
|
|
|
|
|
; HTTPS support: you need to enable it, define the port to use,
|
|
|
|
; and have a certificate somewhere.
|
|
|
|
; sslenable=yes ; enable ssl - default no.
|
|
|
|
; sslbindport=4433 ; port to use - default is 8089
|
|
|
|
; sslcert=/tmp/foo.pem ; path to the certificate
|
|
|
|
;
|
|
|
|
; To produce a certificate you can e.g. use openssl
|
|
|
|
; openssl req -new -x509 -days 365 -nodes -out /tmp/foo.pem -keyout /tmp/foo.pem
|
|
|
|
;
|