disqus/disqus-wordpress — pull request #40 by freerobby (2012-10-08 15:20:16+00:00)
Title: Add SSL support for servers that use downstream SSL termination

We run the shareaholic.com blog behind an haproxy instance on which SSL is terminated. Wordpress's is_ssl function does not detect such terminations even with the X-Forwarded-Proto header set to "https".

I worked around this by specifying protocol-agnostic javascript includes, which will automatically use the current protocol (http or https).