So, there seems to be really poor documentation for this, and I haven't found exactly how to do this. I am in the process of figuring out how to move my CMS to HTTP/2 and that requires PHP-FPM with Apache.
As this is a CMS, I have tons of aliased directories that are shared among the hundreds of sites served by Apache. I have configured the script that creates the vhost files which then adds:
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000//Atlas/Sites/sitename/$1
In the virtualhost config. And in the general Apache config I have this, for instance:
Alias /pages "/Atlas/Core/virtuals/pages"
Which means that http://www.sitename.com/pages/help is thus an alias directory. After some reading I think I have found out that PHP-FPM doesn't support Apache aliases, which makes sense since "/pages" isn't in the sitename/$1 path that I serve via proxy.
So how do I manage this? Is there something I can set up in the apache config or do I have to add all 20+ alias directories in each vhost, and how is it done?