'Appache virtualhost and proxy

I am trying to redirect a virtualhost to a spefcific ip, in A docker network in my case. I am on a raspberrypi4 with archlinux.

So, here is my config file, but it do not work, this redirect in my default vhost in local :

<VirtualHost *:80>
#ServerAdmin [email protected]
#DocumentRoot "/srv/http/mysite.com"
ServerName mysite.com
ServerAlias mysite.com
ErrorLog "/var/log/httpd/mysite.com-error_log"
CustomLog "/var/log/httpd/mysite.com-access_log" common
ProxyPreserveHost On
ProxyPass "/" "http://172.19.0.5/" 
ProxyPassReverse "/" "http://172.19.0.5/"
#    <Directory "/srv/http/http/mysite.com">
#        Require all granted
#    </Directory>

</VirtualHost>

does anybody can help me to fix that ?? :/



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source