Reverse proxy
  • I want to connect with SAM/BUTT on airtime via a reverse proxy made from nginx. Nginx server declaration below. I can connect just fine on port 8989 ( streaming) but not on 8080 (broadcasting).
    Also going to http://77.81.xx.xx/ or http://77.81.xx.xx:8080 returns "This page isn't available." which means the proxy is actually forwarding requests properly.

    server {
            listen 77.81.xx.xx:8989;
            access_log off;
            error_log off;
            location / {
            proxy_pass http://192.99.xx.xx:8989;
            client_max_body_size 100M;
            client_body_buffer_size 1m;
            proxy_intercept_errors on;
            proxy_buffering on;
            proxy_temp_file_write_size 256k;
            proxy_max_temp_file_size 0;
            }
    }

    server {
            listen 77.81.xx.xx:80;
            access_log off;
            error_log off;
            location / {
            proxy_pass http://192.99.xx.xx:8080;
            client_max_body_size 100M;
            client_body_buffer_size 1m;
            proxy_intercept_errors on;
            proxy_buffering on;
            proxy_temp_file_write_size 256k;
            proxy_max_temp_file_size 0;
            }
    }

    server {
            listen 77.81.xx.xx:8080;
            access_log off;
            error_log off;
            location / {
            proxy_pass http://192.99.xx.xx:8080;
            client_max_body_size 100M;
            client_body_buffer_size 1m;
            proxy_intercept_errors on;
            proxy_buffering on;
            proxy_temp_file_write_size 256k;
            proxy_max_temp_file_size 0;
            }
    }
  • 6 Comments sorted by
  • I do not see you have a listen port for 8080 in your server block
    but I will look at my configuration again and give you my feedback

    VOISSES
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • The fact is that I want to make a LIVE from Singapore. We did it in the past and worked perfect from Toronto and other places from Europe. Instead I have a problem in ASIA, as it seams. I have several shows that must be broadcasted LIVE from ASIA and I can't connect on 8080 from there, as the Airtime is configured. I do it by myself with BUTT, connecting with TeamViewer in Singaporre's pc, I configured the BUTT(0.1.14 version) and nothing....just "Connecting".
    First I was thinkin' that maybe I have most of ASIA on blacklist, i cleared the blacklist and the same thing.
    For me is something weird, because once you make LIVE from 2 different continents than must work.
  • And came to me the ideea with the proxy, as 1st ideea. The second is to use from there a VPN connection.
  • damn...i found a post here on forum now...
    We used BUTT 0.1.14 to do it.... Hmmmm
    I'll try with 0.1.13 tho... fingers crossed!
  • I used 1.14 had similar problem mine was a firewall issue

    VOISSES
    21 to Go
    Post edited by Voisses Tech at 2015-02-03 10:36:20
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • Personally I have no problem with that. Maybe  you should change your proxy server. I know one of those, and it's all right .http://buy.fineproxy.org/eng/
    Post edited by Ethansport at 2015-05-24 04:56:09