summaryrefslogtreecommitdiffstats
path: root/debian/nghttpx.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:37:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:37:09 +0000
commit2d0d5aeaf12b3d258db900523710db7c9db73018 (patch)
tree2faf74016289936f4c843074be9299764e39e930 /debian/nghttpx.conf
parentAdding upstream version 1.59.0. (diff)
downloadnghttp2-2d0d5aeaf12b3d258db900523710db7c9db73018.tar.xz
nghttp2-2d0d5aeaf12b3d258db900523710db7c9db73018.zip
Adding debian version 1.59.0-1.debian/1.59.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/nghttpx.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/nghttpx.conf b/debian/nghttpx.conf
new file mode 100644
index 0000000..9aec111
--- /dev/null
+++ b/debian/nghttpx.conf
@@ -0,0 +1,40 @@
+#
+# Sample configuration file for nghttpx.
+#
+# * Line staring '#' is treated as comment.
+#
+# * The option name in the configuration file is the long command-line
+# option name with leading '--' stripped (e.g., frontend). Put '='
+# 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
+# (e.g., http2-proxy=yes). If other string is given, it disables the
+# 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:
+
+# Example 1
+# Proxying an HTTP server on localhost:80 to localhost:3000 (no TLS)
+frontend=127.0.0.1,3000;no-tls
+backend=127.0.0.1,80
+errorlog-syslog=yes
+workers=1
+
+# Example 2
+# Proxying localhost:80 on all interfaces, port 3000 (TLS enabled)
+# frontend=0.0.0.0,3000
+# backend=127.0.0.1,80
+# private-key-file=/path/to/server.key
+# certificate-file=/path/to/server.crt
+# http2-proxy=no
+# workers=1
+
+# For comprehensive list of configuration options see "man nghttpx"