Quantcast
Channel: Admins Goodies » port
Viewing all articles
Browse latest Browse all 10

Linux: Route subfolder to different port

$
0
0

Question

I have setup a JIRA instance and it now listens on

http://mydomain.com:8080

Now I want to expose it like

http://mydomain.com/jira

Can I do this with linux tools (iptables …) alone (and how) or do I need a web server?

Thanks for every answer to a newbie in the linux world

Asked by heinob

Answer

You can change port numbers using iptables like redirecting traffic from port 8080 to port 80. However, you need to have an HTTP proxy server to change the domain name or the file path. So, you can not do the whole thing using iptables alone.

Answered by Khaled

Viewing all articles
Browse latest Browse all 10

Trending Articles