jeudi 2 janvier 2020

Serve HTTP content from other device with Apache2

I have multiple web servers in my house and have port 443 pointed to my primary web server.

Another machine has some files I would also like server without moving them to the primary web server.

Can I set Apache2 up so that certain files or a certain directory is directly served from another device so it can all be accessed from a single IP?

e.g.

Main web server is running apache2 and has IP 172.16.2.1.

Other machine has a nginx web server and has IP 172.16.2.3.

When I open up 172.16.2.1/otherMac I want it to serve the folder accessible from 172.16.2.3/stuff

I need this because I cannot have subdomains accessible from the Internet with my current DDNS and I dont even know how to have those anyway.

Both servers are running different distros of linux (Raspbian and ArchLinux ARM armv7h)




Aucun commentaire:

Enregistrer un commentaire