From fc0fecb4768d696db3324bcf6dd03325bb4cd513 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Thu, 17 Jul 2014 21:17:28 +0000 Subject: configs: Move sample config files into a subdirectory of configs This moves all samples configs from configs/ to configs/samples. This allows for additional sets of sample configuration files to be added in the future. Review: https://reviewboard.asterisk.org/r/3804/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418870 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/http.conf.sample | 96 ------------------------------------------------ 1 file changed, 96 deletions(-) delete mode 100644 configs/http.conf.sample (limited to 'configs/http.conf.sample') diff --git a/configs/http.conf.sample b/configs/http.conf.sample deleted file mode 100644 index 44095a11e..000000000 --- a/configs/http.conf.sample +++ /dev/null @@ -1,96 +0,0 @@ -; -; Asterisk Builtin mini-HTTP server -; -; -; Note about Asterisk documentation: -; If Asterisk was installed from a tarball, then the HTML documentation should -; be installed in the static-http/docs directory which is -; (/var/lib/asterisk/static-http/docs) on linux by default. If the Asterisk -; HTTP server is enabled in this file by setting the "enabled", "bindaddr", -; and "bindport" options, then you should be able to view the documentation -; remotely by browsing to: -; http://:/static/docs/index.html -; -[general] -; -; Whether HTTP/HTTPS interface is enabled or not. Default is no. -; This also affects manager/rawman/mxml access (see manager.conf) -; -;enabled=yes -; -; Address to bind to, both for HTTP and HTTPS. You MUST specify -; a bindaddr in order for the HTTP server to run. There is no -; default value. -; -bindaddr=127.0.0.1 -; -; Port to bind to for HTTP sessions (default is 8088) -; -;bindport=8088 -; -; Prefix allows you to specify a prefix for all requests -; to the server. The default is blank. If uncommented -; all requests must begin with /asterisk -; -;prefix=asterisk -; -; sessionlimit specifies the maximum number of httpsessions that will be -; allowed to exist at any given time. (default: 100) -; -;sessionlimit=100 -; -; session_inactivity specifies the number of milliseconds to wait for -; more data over the HTTP connection before closing it. -; -; Default: 30000 -;session_inactivity=30000 -; -; session_keep_alive specifies the number of milliseconds to wait for -; the next HTTP request over a persistent connection. -; -; Set to 0 to disable persistent HTTP connections. -; Default: 15000 -;session_keep_alive=15000 -; -; Whether Asterisk should serve static content from static-http -; Default is no. -; -;enablestatic=yes -; -; Redirect one URI to another. This is how you would set a -; default page. -; Syntax: redirect= -; For example, if you are using the Asterisk-gui, -; it is convenient to enable the following redirect: -; -;redirect = / /static/config/index.html -; -; HTTPS support. In addition to enabled=yes, you need to -; explicitly enable tls, define the port to use, -; and have a certificate somewhere. -;tlsenable=yes ; enable tls - default no. -;tlsbindaddr=0.0.0.0:8089 ; address and port to bind to - default is bindaddr and port 8089. -; -;tlscertfile= ; path to the certificate file (*.pem) only. -;tlsprivatekey= ; path to private key file (*.pem) only. -; If no path is given for tlscertfile or tlsprivatekey, default is to look in current -; directory. If no tlsprivatekey is given, default is to search tlscertfile for private key. -; -; To produce a certificate you can e.g. use openssl. This places both the cert and -; private in same .pem file. -; openssl req -new -x509 -days 365 -nodes -out /tmp/foo.pem -keyout /tmp/foo.pem -; -; 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] -; -; NOTE: You need a valid HTTP AMI mansession_id cookie with the manager -; config permission to POST files. -; -; 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/ -; -- cgit v1.2.3