Pico CMS short URLs for Nextcloud AIO

I am using Nextcloud AIO, and I would like to enable short URLs for Pico CMS.

The first step is to enable Apacheā€™s mod_proxy and mod_proxy_http modules and copy the following snippet to apache.conf (I assume I should use the method for Apache servers, since an apache container was spawned by the AIO mastercontainer ā€” maybe Iā€™m wrong):

ProxyPass /sites/ https://xxxxxxx/index.php/apps/cms_pico/pico_proxy/
ProxyPassReverse /sites/ https://xxxxxxx/index.php/apps/cms_pico/pico_proxy/
SSLProxyEngine on

However, since I am using AIO, I cannot find apache.conf at the usual places, e.g. /etc/apache2/. I tried to look for such a file in the volumes of the docker containers but still had no luck.

My knowledge about servers and Docker containers is very limited, and I have been stuck for a whileā€¦ Can anyone help?

Thanks a lot!

Hi, you can run AIO behind a reverse proxy which allows you to do the needed changes directly via your reverse proxy. See all-in-one/reverse-proxy.md at main Ā· nextcloud/all-in-one Ā· GitHub

1 Like