How to use caddy server as reverse proxy with apache?

I am using apache server for my PHP web app which lets users use their custom domain, I’ve done with the domain mapping but I want to add SSL to their domain.

Caddy was a great solution for this situation, so I replaced from port 80 to port 8080. I have installed caddy but for some reason my css and js files aren’t loading and my mapped domains aren’t working anymore.

Also installing caddy on ubuntu 18 tutorial is outdated!

Can someone please help me through this topic?!?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!