Forum

ReverseProxy for Beego application

Tobias
23 March 2017, 16:28
Hello,
im running my application on port 8080 and i would like to have a better url for it like myapp.mydomain.com instead of mydomain.com:8080.
I tryed to set virtualhost {
Hostname myapp.mydomain.com
ReverseProxy .* http://127.0.0.1:8080
}

but it doesnt work

Can hiawatha do that and if so can I ask what am i doing wrong?

Thanks!
Hugo Leisink
27 March 2017, 22:01
but it doesnt work

What exactly doesn't work? What error do you get?
Tobias
29 March 2017, 12:45
Hello,
Ye, sorry. Browser just show me connection refused and I havent found any error in logs. I created error log for this virtualhost and also i took a look in /var/log/hiawatha logs.

Cheers,
Tobias
Hugo Leisink
30 March 2017, 08:30
Does Hiawatha listen to the port you're trying to connect to with your browser?
This topic has been closed.