justinwalsh/daux.io — pull request #224 by laughn-man (2014-10-07 19:10:23+00:00)
Title: Resolve theme issues with https behind reverse proxy

The changes in this request should resolve 2 theme issues we have ran into serving daux.io over https.

1. When terminating https at a reverse proxy the HTTPS $_server field is empty. This is correct as php is getting the request over http, however this makes links using in the theme come back as http to the browser. This is problematic as many browsers such as Chrome won't serve http content on an https site.

2. The Roboto Slab font is always requested as http, causing it not to be loaded due to the same issue as above.

The fix we did was to change out the protocol with //.

Let me know if you have any questions.

Thanks,
Justin C.