andofrjando 00d62b3423
This fixes the following bug:
If Pi-Hole is behind a reverse proxy that uses SSL, then the block page will not load resources such as `blockingpage.css` and `jquery.min.js` as the insecure `http://` is hard coded. Browsers will block attempts to load insecure resources if the page is loaded of SSL.
The fix is acheived by checking `$_SERVER['HTTPS']` and setting the variable `$proto` to either `http` or `https`. The harcoded `http` is replaced by the contents of this variable.
2017-09-16 10:24:37 +08:00
..
2017-03-08 13:16:40 +01:00
2015-06-06 23:29:54 -05:00
2016-02-20 01:15:14 -06:00
2016-01-23 11:48:12 -06:00
2017-09-16 10:24:37 +08:00