Hello,
Sorry to dig up this post but I don't think my request needs another thread.
I try also to acces tvh over the internet. Tvh is running on a Wetek Play 2 with kodi krypton.
I've tried the nginx configuration which seems to be working IF the server is on the same machine!
My problem is, I have another server running on a Rpi which I don't want to stop, my internet box do not allow to generate a second dynDNS access. So I basicaly want to access tvh through a nginx location.
When using the nginx configuration given by Guillaume in his thread, the only answer I get is the tvh favico and an empty page.
Here is my nginx configuration:
upstream tomcat {
server 192.168.1.50:8083;
}
server {
listen 80;
server_name example.com;
location / {
proxy_pass
http://tomcat/;
proxy_set_header Host $http_host;
auth_basic "Restricted";
auth_basic_user_file /home/.htpasswd;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
location /tv {
proxy_pass
http://192.168.1.78:9981/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
I don't get what can be the problem. Any idea?