T
T
tayanov2015-12-01 15:30:13
Apache HTTP Server
tayanov, 2015-12-01 15:30:13

How to change server:9091 to server/transmission and server:10000 to server/webmin?

Good day.
There are many services on the home server.
Most use a web interface
ala webmin, transmission, plex, logitechmediaserver, cups, etc.
Each service has its own ports in the address. for example transmission responds to port 9091.
How can this be done so that all links look like
http: // server / service
For example, in remote access, you come to open many ports.
And so you want to have a main page with quick access to services using the server link.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2015-12-01
@leahch

You can, for example, collect them all through nginx

location /cups {
proxy_pass 127.0.0.1:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_connect_timeout 120;
proxy_send_timeout 120;
proxy_read_timeout 180;
}

and so on, I hope it's clear ...
You can also use lighttpd
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /media http://0.0.0.0:81/
ProxyPassReverse / http://0.0.0.0:81/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question