diff options
Diffstat (limited to 'configs/http.conf.sample')
-rw-r--r-- | configs/http.conf.sample | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/configs/http.conf.sample b/configs/http.conf.sample index cf5224f10..01b577525 100644 --- a/configs/http.conf.sample +++ b/configs/http.conf.sample @@ -9,11 +9,6 @@ ; ;enabled=yes ; -; Whether Asterisk should serve static content from http-static -; Default is no. -; -;enablestatic=yes -; ; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0 ; bindaddr=127.0.0.1 @@ -27,7 +22,20 @@ bindaddr=127.0.0.1 ; requests must begin with /asterisk ; ;prefix=asterisk - +; +; Whether Asterisk should serve static content from http-static +; Default is no. +; +;enablestatic=yes +; +; Redirect one URI to another. This is how you would set a +; default page. +; Syntax: redirect=<from here>=<to there> +; For example, if you are using the Asterisk-gui, +; it is convenient to enable the following redirect: +; +;redirect=/=/asterisk/static/config/cfgadvanced.html +; ; HTTPS support. In addition to enabled=yes, you need to ; explicitly enable ssl, define the port to use, ; and have a certificate somewhere. |