mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 22:08:39 +00:00
update sniproxy
This commit is contained in:
parent
e4a756495f
commit
9a362be652
@ -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 {
|
resolver {
|
||||||
nameserver 8.8.8.8
|
nameserver 8.8.8.8
|
||||||
mode ipv4_only
|
mode ipv4_only
|
||||||
}
|
}
|
||||||
|
|
||||||
|
access_log {
|
||||||
|
filename /var/log/sniproxy/access.log
|
||||||
|
}
|
||||||
|
|
||||||
error_log {
|
error_log {
|
||||||
filename /var/log/sniproxy/error.log
|
filename /var/log/sniproxy/error.log
|
||||||
priority notice
|
priority notice
|
||||||
@ -13,16 +23,10 @@ error_log {
|
|||||||
|
|
||||||
listener 0.0.0.0 80 {
|
listener 0.0.0.0 80 {
|
||||||
proto http
|
proto http
|
||||||
access_log {
|
|
||||||
filename /var/log/sniproxy/access.log
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
listener 0.0.0.0 443 {
|
listener 0.0.0.0 443 {
|
||||||
proto tls
|
proto tls
|
||||||
access_log {
|
|
||||||
filename /var/log/sniproxy/access.log
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
Loading…
Reference in New Issue
Block a user