i installed docker on my laptop and i have trouble remembering every port open by docker. so I want to point it to an alias on apache. example:
i am running a web app in docker with port 8082 i want to access it via http://localhost/myapp without using the port.
this my httpd.conf
DocumentRoot "/opt/lampp/htdocs"
<Directory "/opt/lampp/htdocs">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Require all granted
alias /myapp
ProxyPassMatch ^/myapp !
ProxyPass /myapp http://localhost:9000/
ProxyPassReverse /myapp http://localhost:9000/
</Directory>
how can i do it?