Debian 9 apache2 mod_proxy_fcgi configuration

I have urbackup server web running via https now. I could not see an example on any web sites so I combined information from several places.

First I needed an “a2enmod proxy_fcgi” (which also brought in proxy) then I created and enabled a urbackup.conf file as below:

# UrBackup configuration file for apache 2.4 or later
<IfModule mod_alias.c>
    Alias /urbackup /usr/share/urbackup/www
<Directory "/usr/share/urbackup/www">
    <IfModule mod_authz_host.c>
        Require local
        # Require ip (replace this comment line for your network)
<IfModule mod_proxy_fcgi.c>
    ProxyPass "/urbackup/x" "fcgi://"

After a restart on apache2 https://mysite.example/urbackup worked.

Please feel free to use this as you wish. Comments on how to improve the conf are welcome.