mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-28 09:03:17 +00:00
Fix Hulu ad redirection
Change "^/(.*)" to "^/published/(.*)" in the url.redirect configuration. This seems to allow non-video communications with the Hulu ad servers to go through unmolested, while redirecting only the ad videos to the local media server. I've tested the change and it works well for me.
This commit is contained in:
parent
0ae8168351
commit
5d322f2dd2
1 changed files with 1 additions and 1 deletions
|
@ -28,5 +28,5 @@ include_shell "/usr/share/lighttpd/create-mime.assign.pl"
|
|||
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
|
||||
|
||||
$HTTP["host"] =~ "ads.hulu.com|ads-v-darwin.hulu.com|" {
|
||||
url.redirect = ( "^/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov")
|
||||
url.redirect = ( "^/published/(.*)" => "http://192.168.1.101:8200/MediaItems/19.mov")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue