Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- log /dev/log local0
- log /dev/log local1 debug
- chroot /var/lib/haproxy
- user haproxy
- group haproxy
- daemon
- maxconn 10000
- ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
- ssl-default-bind-options no-sslv3 no-tlsv10
- defaults
- mode http
- log global
- option httplog
- option dontlognull
- timeout connect 5000
- timeout client 50000
- timeout server 50000
- errorfile 400 /etc/haproxy/errors/400.http
- errorfile 403 /etc/haproxy/errors/403.http
- errorfile 408 /etc/haproxy/errors/408.http
- errorfile 500 /etc/haproxy/errors/500.http
- errorfile 502 /etc/haproxy/errors/502.http
- errorfile 503 /etc/haproxy/errors/503.http
- errorfile 504 /etc/haproxy/errors/504.http
- option forwardfor if-none
- frontend public-web-in
- mode http
- bind :80
- bind :443 ssl crt /etc/letsencrypt/live/haproxy.pem alpn h2,http/1.1
- use_backend mmserver if { req.hdr(Host) -i -m str mm.example.com }
- use_backend wpserver if { req.hdr(Host) -i -m str blog.example.com }
- use_backend mailinabox if { req.hdr(Host) -i -m str box.example.com }
- default_backend myrouter
- backend mmserver
- description My Mattermost server
- server mattermost 192.168.1.44:8065
- backend wpserver
- description My Wordpress server
- server wordpress 192.168.1.19:443 ssl verify none check
- backend mailinabox
- description My Mail-in-a-Box server
- server box 192.168.1.13:443 ssl verify none check
- backend myrouter
- description My default backend server
- server asusrouter 192.168.1.1:80
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy public-web-in started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy public-web-in started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy mmserver started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy mmserver started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy wpserver started.
- Apr 29 21:14:14 haproxy haproxy[334]: [NOTICE] 118/211414 (334) : New worker #1 (335) forked
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy wpserver started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy mailinabox started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy mailinabox started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy myrouter started.
- Apr 29 21:14:14 haproxy haproxy[334]: Proxy myrouter started.
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.856] public-web-in~ mmserver/mattermost 0/0/0/1/1 200 229 - - ---- 3/3/6/7/0 0/0 "GET /api/v4/plugins/webapp HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.856] public-web-in~ mmserver/mattermost 0/0/0/1/1 200 229 - - ---- 3/3/6/7/0 0/0 "GET /api/v4/plugins/webapp HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/0/0 304 213 - - ---- 3/3/5/6/0 0/0 "GET /api/v4/channels/xswr3qctnjn83837xn3sxmzore/posts?page=0&per_page=60 HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/0/0 304 213 - - ---- 3/3/5/6/0 0/0 "GET /api/v4/channels/xswr3qctnjn83837xn3sxmzore/posts?page=0&per_page=60 HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/2/2 200 302 - - ---- 3/3/4/5/0 0/0 "GET /api/v4/users/me/teams/unread HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/2/2 200 302 - - ---- 3/3/4/5/0 0/0 "GET /api/v4/users/me/teams/unread HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/2/2 304 245 - - ---- 3/3/3/4/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/2/2 304 245 - - ---- 3/3/3/4/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/3/3 200 5697 - - ---- 3/3/2/3/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels/members HTTP/1.1"
- Apr 29 21:14:17 haproxy haproxy[335]: 12.34.56.78:1605 [29/Apr/2019:21:14:17.857] public-web-in~ mmserver/mattermost 0/0/0/3/3 200 5697 - - ---- 3/3/2/3/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels/members HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.099] public-web-in~ mmserver/mattermost 0/0/0/1/1 200 229 - - ---- 4/4/2/3/0 0/0 "GET /api/v4/plugins/webapp HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.099] public-web-in~ mmserver/mattermost 0/0/0/1/1 200 229 - - ---- 4/4/2/3/0 0/0 "GET /api/v4/plugins/webapp HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.100] public-web-in~ mmserver/mattermost 0/0/0/0/0 304 213 - - ---- 4/4/5/6/0 0/0 "GET /api/v4/channels/fpse58p94frkdry7usi1pnezrh/posts?page=0&per_page=60 HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.100] public-web-in~ mmserver/mattermost 0/0/0/0/0 304 213 - - ---- 4/4/5/6/0 0/0 "GET /api/v4/channels/fpse58p94frkdry7usi1pnezrh/posts?page=0&per_page=60 HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.099] public-web-in~ mmserver/mattermost 0/0/0/2/2 304 245 - - ---- 4/4/4/5/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.099] public-web-in~ mmserver/mattermost 0/0/0/2/2 304 245 - - ---- 4/4/4/5/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.100] public-web-in~ mmserver/mattermost 0/0/0/1/1 200 302 - - ---- 4/4/3/4/0 0/0 "GET /api/v4/users/me/teams/unread HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.100] public-web-in~ mmserver/mattermost 0/0/0/1/1 200 302 - - ---- 4/4/3/4/0 0/0 "GET /api/v4/users/me/teams/unread HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.100] public-web-in~ mmserver/mattermost 0/0/0/3/3 200 7621 - - ---- 4/4/2/3/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels/members HTTP/1.1"
- Apr 29 21:14:18 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:18.100] public-web-in~ mmserver/mattermost 0/0/0/3/3 200 7621 - - ---- 4/4/2/3/0 0/0 "GET /api/v4/users/me/teams/i9sepscxkin88myf986htnjqta/channels/members HTTP/1.1"
- Apr 29 21:14:19 haproxy haproxy[335]: 23.45.67.89:39038 [29/Apr/2019:21:14:19.046] public-web-in wpserver/wordpress 0/0/1/12/13 200 420 - - ---- 5/5/0/0/0 0/0 "POST /xmlrpc.php HTTP/1.1"
- Apr 29 21:14:19 haproxy haproxy[335]: 23.45.67.89:39038 [29/Apr/2019:21:14:19.046] public-web-in wpserver/wordpress 0/0/1/12/13 200 420 - - ---- 5/5/0/0/0 0/0 "POST /xmlrpc.php HTTP/1.1"
- Apr 29 21:14:23 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:23.015] public-web-in~ mmserver/mattermost 0/0/0/2/2 200 861 - - ---- 4/4/2/3/0 0/0 "POST /api/v4/users/status/ids HTTP/1.1"
- Apr 29 21:14:23 haproxy haproxy[335]: 98.76.54.32:3196 [29/Apr/2019:21:14:23.015] public-web-in~ mmserver/mattermost 0/0/0/2/2 200 861 - - ---- 4/4/2/3/0 0/0 "POST /api/v4/users/status/ids HTTP/1.1"
- Apr 29 21:14:23 haproxy haproxy[335]: 87.65.43.21:58936 [29/Apr/2019:21:14:23.103] public-web-in~ myrouter/asusrouter 0/0/1/0/46 501 348 - - ---- 5/5/0/0/0 0/0 "PROPFIND /remote.php/dav/files/john/ HTTP/1.1"
- Apr 29 21:14:23 haproxy haproxy[335]: 87.65.43.21:58936 [29/Apr/2019:21:14:23.103] public-web-in~ myrouter/asusrouter 0/0/1/0/46 501 348 - - ---- 5/5/0/0/0 0/0 "PROPFIND /remote.php/dav/files/john/ HTTP/1.1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement