mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update sniproxy
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user