-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
dresende edited this page Jun 28, 2011
·
3 revisions
The configuration file (navajo.conf) is a simple JSON file. This page will try to list all the options that are available.
-
bind: "0.0.0.0:80"- Binding IP and port. You can just put the port number, a specific IP (port will default to 80 or an IP and port); -
root: "www"- Root folder for the server pages. For virtual hosts check Virtual Hosting; -
index: null- List of index files that should be served when the user requests for a folder. If null, nothing will be retrieved; -
log: null- Logging options. If not null, it should be an object withpath(the logging file) andformat(the log format - several Apache log variables are supported); -
user: "www-data"- Username to run as, after binding to http port; -
group: "www-data"- Groupname to run as, after binding to http port; -
mime: null- An object with mime types as keys and an Array of extensions as values; -
plugins: null- An object with mime types as keys and a plugin name to load as value; -
ignore: null- An Array of wildmasks not to serve if url matches them;