Project

General

Profile

Tvheadend behind proxy

Added by Nils Bittmann over 8 years ago

Hi Guys,

I've just set-up TVheadend behind an apache proxy via mod_proxy however I'm wondering if there is any option availble to get the original IP address from the X forward header in order to use the ACL's??

My current version is Tvheadend 4.1.2134

Setup in apache


ProxyPreserveHost On
Proxypass /tv http://192.168.20.40:9981/tv
Proxypassreverse /tv http://192.168.20.40:9981/tv

TVH argument added to current config:

ARGS="-f --http_root /tv"

Any help appreciated

Thanks


Replies (2)

RE: Tvheadend behind proxy - Added by Jonathan Thomson over 8 years ago

When you say 'original' do you mean the originating client? If so, if that happens to be a mobile device, the IP address will change frequently so does that offer you any benefit?

I operate my TVHeadend box behind a Microsoft IIS reverse proxy having switched from Apache last year but have not looked into preserving the ACL's.

That said, this is more an Apache question so if you can clarify your meaning of 'original' I'll see what I can do.

RE: Tvheadend behind proxy - Added by Nils Bittmann over 8 years ago

Hi,

Yes I mean the originating IP address at the moment I can only see my apache proxy's IP and that makes the ACL unusable as it's always my internal IP.

    (1-2/2)