1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update sniproxy

This commit is contained in:
kev 2023-06-15 16:48:47 +08:00
parent e4a756495f
commit 9a362be652

View File

@ -1,11 +1,21 @@
user sniproxy
pidfile /var/run/sniproxy/sniproxy.pid
#
# https://github.com/dlundquist/sniproxy/blob/master/sniproxy.conf
#
user nobody
group nogroup
pidfile /var/run/sniproxy.pid
resolver {
nameserver 8.8.8.8
mode ipv4_only
}
access_log {
filename /var/log/sniproxy/access.log
}
error_log {
filename /var/log/sniproxy/error.log
priority notice
@ -13,16 +23,10 @@ error_log {
listener 0.0.0.0 80 {
proto http
access_log {
filename /var/log/sniproxy/access.log
}
}
listener 0.0.0.0 443 {
proto tls
access_log {
filename /var/log/sniproxy/access.log
}
}
table {