Objective I use HAProxy to serve multiple SSL/TLS enabled sites with HAProxy doing SSL termination. The sites serve regular HTTP while users see proper HTTPS sites (with free certificates from LetsEncrypt). My objective was to provide HTTP Basic Authentication as a second layer of protection for certain applications like NextCloud (DropBox clone) or Gitea (GitHub […]
Tag: HTTP
Categories
How to list all URL's in Redirect chain
This simple utility is extremely useful in detecting bad redirects and loops, specially in big websites. You can also include it in scripts. wget http://gmail.com 2>&1 | grep Location: The response, in this case, is: Location: https://www.google.com/gmail/ [following] Location: https://mail.google.com/mail/ [following] Location: https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/&ss=1&scc=1<mpl=default<mplcache=2&emr=1&osid=1# [following]