2

I am refactoring my local environment from MAMP-pro to PHP/apache/Docker.

What is the proper configuration to implement a reverse proxy (in order to maintain the named-url site functionality of MAMP-pro) in this environment without the use of third party tools (IE Caddy server or NGINX)

My goal is to have a bunch of Docker Apache/PHP containers running at once, each running one application that is accessible by a named URL.

  • What did you try? – 030 Dec 30 '17 at 10:45
  • 1
    So you want an apache-based reverse proxy? httpd.apache.org/docs/2.4/howto/reverse_proxy.html digitalocean.com/community/tutorials/… – chicks Dec 31 '17 at 2:05
  • @030 things that would work locally, before realizing that adding sites to the hosts file on the container would help at all – Btuman Jan 3 '18 at 15:18
  • @chicks yup, I do. I read both of those articles, but cannot make either work with docker – Btuman Jan 3 '18 at 15:18
  • I can't make something from this question, mamp stand for Mac Apache Mysql Php, what are you willing to do in docker? The automatic dns/vhost Config has nothing to do with that, it's scripts/tooling included in mamp you will have to replace but there's no final goal here... – Tensibai Jan 3 '18 at 17:26

Browse other questions tagged or ask your own question.