Skip to content

Instantly share code, notes, and snippets.

Cem Sancak c3mb0

Block or report user

Report or block c3mb0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:9ffa06a9fd8ada7c60593e583c3a4049
global
stats socket /var/run/haproxy.sock mode 600 level admin
resolvers consul
nameserver dns 127.0.0.1:8600
defaults
mode http
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend http
View gist:97abd0e9e0e6f28e94d5cb6945337bfa
ubuntu@ip-174-0-47-194:~$ dig @127.0.0.1 -p 8600 _api.service.consul SRV
; <<>> DiG 9.10.3-P4-Ubuntu <<>> @127.0.0.1 -p 8600 _api.service.consul SRV
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15860
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 5
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
You can’t perform that action at this time.