diff options
Diffstat (limited to 'configs/http.conf.sample')
-rw-r--r-- | configs/http.conf.sample | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/configs/http.conf.sample b/configs/http.conf.sample new file mode 100644 index 000000000..f8a86f85a --- /dev/null +++ b/configs/http.conf.sample @@ -0,0 +1,40 @@ +; +; Asterisk Builtin mini-HTTP server +; +; +[general] +; +; Whether HTTP interface is enabled or not. Default is no. +; +;enabled=yes +; +; Whether Asterisk should serve static content from http-static +; Default is no. +; +;enablestatic=yes +; +; Address to bind to. Default is 0.0.0.0 +; +bindaddr=127.0.0.1 +; +; Port to bind to (default is 8088) +; +bindport=8088 +; +; 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 + +; The post_mappings section maps URLs to real paths on the filesystem. If a +; POST is done from within an authenticated manager session to one of the +; configured POST mappings, then any files in the POST will be placed in the +; configured directory. +; +;[post_mappings] +; +; In this example, if the prefix option is set to "asterisk", then using the +; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/. +;uploads = /var/lib/asterisk/uploads/ +; |