1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-11-29 22:38:35 +02:00

update sniproxy

This commit is contained in:
kev
2023-06-15 16:43:43 +08:00
parent e77023d376
commit e4a756495f
4 changed files with 32 additions and 26 deletions

View File

@@ -0,0 +1,30 @@
user sniproxy
pidfile /var/run/sniproxy/sniproxy.pid
resolver {
nameserver 8.8.8.8
mode ipv4_only
}
error_log {
filename /var/log/sniproxy/error.log
priority notice
}
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 {
.* *
}

View File

View File

@@ -1,25 +0,0 @@
user sniproxy
pidfile /var/run/sniproxy/sniproxy.pid
error_log {
filename /var/log/sniproxy/error.log
priority notice
}
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 {
mydomain\.com *
}