2012-08-01 15:06:41 +00:00
|
|
|
#
|
2013-08-30 13:46:28 +00:00
|
|
|
# Sample configuration file for nghttpx.
|
2012-08-01 15:06:41 +00:00
|
|
|
#
|
|
|
|
# * Line staring '#' is treated as comment.
|
|
|
|
#
|
|
|
|
# * The option name in the configuration file is the long command-line
|
2012-08-02 14:58:52 +00:00
|
|
|
# option name with leading '--' stripped (e.g., frontend). Put '='
|
2012-08-01 15:06:41 +00:00
|
|
|
# between option name and value. Don't put extra leading or trailing
|
|
|
|
# spaces.
|
|
|
|
#
|
|
|
|
# * The options which do not take argument in the command-line *take*
|
|
|
|
# argument in the configuration file. Specify 'yes' as argument
|
2015-03-25 13:04:49 +00:00
|
|
|
# (e.g., http2-proxy=yes). If other string is given, it disables the
|
2012-08-01 15:06:41 +00:00
|
|
|
# option.
|
|
|
|
#
|
|
|
|
# * To specify private key and certificate file, use private-key-file
|
|
|
|
# and certificate-file. See the examples below.
|
|
|
|
#
|
|
|
|
# * conf option cannot be used in the configuration file. It will be
|
|
|
|
# ignored.
|
|
|
|
#
|
|
|
|
# Examples:
|
|
|
|
#
|
2012-08-02 14:58:52 +00:00
|
|
|
# frontend=0.0.0.0,3000
|
|
|
|
# backend=127.0.0.1,80
|
2012-08-01 15:06:41 +00:00
|
|
|
# private-key-file=/path/to/server.key
|
|
|
|
# certificate-file=/path/to/server.crt
|
2015-03-25 12:42:12 +00:00
|
|
|
# http2-proxy=no
|
2012-08-01 15:06:41 +00:00
|
|
|
# workers=1
|