Nginx Sample Config of HTTP and LDAPS Reverse Proxy

Nginx is a great tool for load balance, reverse proxy and more if you know Lua scripts (check out OpenResty if you are interested). Besides HTTP, Nginx can do TCP and UDP proxy as well. Here is a sample config for https > http, ldaps > ldap proxy.

kubectl unable to connect minikube on VPN

I installed minikube in my Mac, and I noticed that kubectl is unable to connect to it while my Mac in on VPN (Cisco Anyconnect). $ kubectl cluster-infoKubernetes master is running at further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.Unable to connect to the server: dial tcp i/o timeout Here are … Continue reading kubectl unable to connect minikube on VPN

Atlassian Marketplace server is not reachable

If you are seeing the error message 'The Atlassian Marketplace server is not reachable. Available application updates will not appear on this page." on the Jira Version & License page - Then you should check the following three places: Network Make sure your Jira box has a workable network. Run some ping or curl testings to … Continue reading Atlassian Marketplace server is not reachable

Run hubot and hubot-slack behind proxy

If you are struggling to run hubot with Slack behind the corporate proxy. Here are two things that you can try: Set https_proxy environment variables, it has to be lower case. If the corporate proxy intercepts https (it means the proxy decrypts then re-encrypts the https traffics with its own certificate which most likely to … Continue reading Run hubot and hubot-slack behind proxy


Just found out Google public DNS supports DNS-over-HTTPS. A single curl command can give you the result in json format. Very nice! Syntax: curl -s curl -s | jq -r . { "Status": 3, "TC": false, "RD": true, "RA": true, "AD": false, "CD": false, "Question": [ { "name": "", "type": 1 } ], "Authority": … Continue reading DNS-over-HTTPS