Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.85 KB | None | 0 0
  1. global
  2. log /dev/log local0
  3. log /dev/log local1 debug
  4. chroot /var/lib/haproxy
  5. user haproxy
  6. group haproxy
  7. daemon
  8. maxconn 10000
  9. ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
  10. ssl-default-bind-options no-sslv3 no-tlsv10
  11.  
  12. defaults
  13. mode http
  14. log global
  15. option httplog
  16. option dontlognull
  17. timeout connect 5000
  18. timeout client 50000
  19. timeout server 50000
  20. errorfile 400 /etc/haproxy/errors/400.http
  21. errorfile 403 /etc/haproxy/errors/403.http
  22. errorfile 408 /etc/haproxy/errors/408.http
  23. errorfile 500 /etc/haproxy/errors/500.http
  24. errorfile 502 /etc/haproxy/errors/502.http
  25. errorfile 503 /etc/haproxy/errors/503.http
  26. errorfile 504 /etc/haproxy/errors/504.http
  27. option forwardfor if-none
  28.  
  29. frontend public-web-in
  30. mode http
  31. bind :80
  32. bind :443 ssl crt /etc/letsencrypt/live/haproxy.pem alpn h2,http/1.1
  33. use_backend mmserver if { req.hdr(Host) -i -m str mm.example.com }
  34. use_backend wpserver if { req.hdr(Host) -i -m str blog.example.com }
  35. use_backend mailinabox if { req.hdr(Host) -i -m str box.example.com }
  36. default_backend myrouter
  37.  
  38. backend mmserver
  39. description My Mattermost server
  40. server mattermost 192.168.1.44:8065
  41. backend wpserver
  42. description My Wordpress server
  43. server wordpress 192.168.1.19:443 ssl verify none check
  44. backend mailinabox
  45. description My Mail-in-a-Box server
  46. server box 192.168.1.13:443 ssl verify none check
  47. backend myrouter
  48. description My default backend server
  49. server asusrouter 192.168.1.1:80
  50.  
  51. Apr 29 21:14:14 haproxy haproxy[334]: Proxy public-web-in started.
  52. Apr 29 21:14:14 haproxy haproxy[334]: Proxy public-web-in started.
  53. Apr 29 21:14:14 haproxy haproxy[334]: Proxy mmserver started.
  54. Apr 29 21:14:14 haproxy haproxy[334]: Proxy mmserver started.
  55. Apr 29 21:14:14 haproxy haproxy[334]: Proxy wpserver started.
  56. Apr 29 21:14:14 haproxy haproxy[334]: [NOTICE] 118/211414 (334) : New worker #1 (335) forked
  57. Apr 29 21:14:14 haproxy haproxy[334]: Proxy wpserver started.
  58. Apr 29 21:14:14 haproxy haproxy[334]: Proxy mailinabox started.
  59. Apr 29 21:14:14 haproxy haproxy[334]: Proxy mailinabox started.
  60. Apr 29 21:14:14 haproxy haproxy[334]: Proxy myrouter started.
  61. Apr 29 21:14:14 haproxy haproxy[334]: Proxy myrouter started.
  62. 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"
  63. 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"
  64. 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"
  65. 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"
  66. 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"
  67. 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"
  68. 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"
  69. 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"
  70. 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"
  71. 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"
  72. 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"
  73. 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"
  74. 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"
  75. 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"
  76. 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"
  77. 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"
  78. 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"
  79. 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"
  80. 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"
  81. 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"
  82. 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"
  83. 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"
  84. 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"
  85. 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"
  86. 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"
  87. 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