mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
201d601b4b
- Update to 1.14.0 - Switch USE_OPENSSL to USES= ssl - Add options for APPS and SPDY - Default no change (i.e. APPS and SPDY on) - Add rc-script for nghttpx - Add sample config for nghttpx PR: 211336, 211494, 211774 Submitted by: brnrd (211336, version update) Submitted by: peter (211494, rc-script and sample config) Submitted by: Robert Schulze <rs@bytecamp.net> (211774, APPS and SPDY options) Approved by: Maintainer timeout
32 lines
883 B
Plaintext
32 lines
883 B
Plaintext
# $FreeBSD$
|
|
# Sample config file for nghttpx in proxy forwarding mode.
|
|
|
|
# See https://nghttp2.org/documentation/nghttpx.1.html for
|
|
# an online reference.
|
|
|
|
# Where to relay to, where to listen
|
|
backend=127.0.0.1,80
|
|
frontend=*,443
|
|
|
|
# Provide the default SSL certificate file and private key
|
|
# You should use a full chain certificate - your certificate
|
|
# with any intermediates appended.
|
|
private-key-file=/etc/ssl/mycert/privkey.pem
|
|
certificate-file=/etc/ssl/mycert/fullchain.pem
|
|
|
|
# Use subcert= to add extra certificates for SNI processing
|
|
|
|
# Logs
|
|
accesslog-file=/var/log/nghttpx-access.log
|
|
errorlog-file=/var/log/nghttpx-error.log
|
|
|
|
# Record where the requests came from
|
|
strip-incoming-x-forwarded-for=yes
|
|
add-x-forwarded-for=yes
|
|
strip-incoming-forwarded=yes
|
|
add-forwarded=by,for,host,proto
|
|
|
|
# Don't hash forwarded-for stuff, use the actual information
|
|
forwarded-by=ip
|
|
forwarded-for=ip
|