forked from supernets/inspircd
change some settings for torrc and haproxy config
This commit is contained in:
parent
e1be1dd320
commit
c5a562a08b
@ -1,6 +1,26 @@
|
|||||||
|
global
|
||||||
|
log stdout format raw local0 debug
|
||||||
|
|
||||||
|
defaults
|
||||||
|
log global
|
||||||
|
retries 0
|
||||||
|
timeout connect 604800s
|
||||||
|
timeout client 604800s
|
||||||
|
timeout server 604800s
|
||||||
|
timeout tunnel 604800s
|
||||||
|
timeout queue 604800s
|
||||||
|
timeout http-request 604800s
|
||||||
|
timeout http-keep-alive 604800s
|
||||||
|
timeout client-fin 604800s
|
||||||
|
timeout server-fin 604800s
|
||||||
|
timeout check 604800s
|
||||||
|
option tcplog
|
||||||
|
|
||||||
frontend tor-north
|
frontend tor-north
|
||||||
bind 127.0.0.1:19818 accept-proxy
|
bind 127.0.0.1:19818 accept-proxy
|
||||||
|
mode tcp
|
||||||
default_backend inspircd-south
|
default_backend inspircd-south
|
||||||
|
|
||||||
backend inspircd-south
|
backend inspircd-south
|
||||||
server inspircd 127.0.0.1:7001 check send-proxy-v2
|
mode tcp
|
||||||
|
server inspircd 127.0.0.1:7001 send-proxy-v2
|
||||||
|
@ -7,6 +7,14 @@ services:
|
|||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/lib/inspircd
|
- data:/var/lib/inspircd
|
||||||
|
ulimits:
|
||||||
|
nofile:
|
||||||
|
soft: "102400"
|
||||||
|
hard: "102400"
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "64k"
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
name: tor_data
|
name: tor_data
|
||||||
|
10
tor/torrc
10
tor/torrc
@ -1,10 +1,16 @@
|
|||||||
|
DNSPort 0
|
||||||
|
SocksPort 0
|
||||||
|
TransPort 0
|
||||||
|
NATDPort 0
|
||||||
RunAsDaemon 0
|
RunAsDaemon 0
|
||||||
DataDirectory /var/lib/tor
|
DataDirectory /var/lib/tor
|
||||||
HiddenServiceDir /var/lib/tor/ircd
|
HiddenServiceDir /var/lib/tor/ircd
|
||||||
HiddenServicePort 6667 127.0.0.1:19818
|
HiddenServicePort 6667 127.0.0.1:19818
|
||||||
HiddenServiceMaxStreams 10240
|
HiddenServiceMaxStreams 65535
|
||||||
HiddenServiceExportCircuitID haproxy
|
HiddenServiceExportCircuitID haproxy
|
||||||
CookieAuthentication 0
|
CookieAuthentication 0
|
||||||
ControlPort 127.0.0.1:9051
|
ControlPort 127.0.0.1:9051
|
||||||
HardwareAccel 1
|
HardwareAccel 1
|
||||||
Log notice stderr
|
Log info stderr
|
||||||
|
HiddenServiceSingleHopMode 1
|
||||||
|
HiddenServiceNonAnonymousMode 1
|
||||||
|
Loading…
Reference in New Issue
Block a user