Skip to content

Instantly share code, notes, and snippets.

@asasuou
Forked from wppurking/nghttpx.conf
Created August 21, 2016 08:58
Show Gist options
  • Save asasuou/b3852772a18443a6a5deb49233729d20 to your computer and use it in GitHub Desktop.
Save asasuou/b3852772a18443a6a5deb49233729d20 to your computer and use it in GitHub Desktop.
frontend=0.0.0.0,443
backend=127.0.0.1,8081
workers=2
private-key-file=/etc/squid3/server.key
certificate-file=/etc/squid3/server.crt
http2-proxy=yes
add-x-forwarded-for=no
no-via=yes
no-ocsp=yes
tls-proto-list=TLSv1.2
accesslog-file=/var/log/nghttpx/access.log
accesslog-format=$remote_addr [$time_iso8601] "$request" $status $body_bytes_sent $alpn "$http_user_agent"
daemon=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment