I have several proxy pass statements for the same virtual host. I want to move those statements to a conf file that the virtual host reads. Is that possible? Any ideas would be greatly appreciated.
I've put it in confs-available and enabled, added an Include line to the virtual host, etc. Nothing seems to work. It never finds the proxy pass statement and defaults to looking in htdocs.
EDIT: Is
mod_proxyenabled? If it's already enabled, try these steps:a2ensite <your_virtualhost.conf>systemctl reload apache2Prefix all commands with
sudoif your systems needs that.