[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Map URL to a container...



Hi,

I'm running a web server inside an LXD container which is only accessible from the host. I mapped the container's 80 port to the 82 host's port, so I can access the container's web server as http://host:82. The host itself runs Apache on the usual 80 port. What I whis to get is something like this:

http://host/path1 --> http://localip/path1
http://host/path2 --> http://localip/path2

and so on and so forth. How can I do it?

Best regards.



Reply to: