mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
00d62b3423
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. |
||
---|---|---|
.. | ||
bash-completion | ||
GIFs | ||
Scripts | ||
01-pihole.conf | ||
blockingpage.css | ||
cmdline.txt | ||
console-setup | ||
dnsmasq.conf.original | ||
index.js | ||
index.php | ||
lighttpd.conf.debian | ||
lighttpd.conf.fedora | ||
logrotate | ||
pihole-FTL.service | ||
pihole.cron | ||
pihole.sudo |