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