Sunil Mohan Adapa 85cc9f08fa
nextcloud: Use php-fpm container instead of apache container
- Configuring just php-fpm is easier compared to configuring Apache + mod_php.
There is no need to configure trusted proxies as the requests are made using the
FastCGI protocol.

- There is no need for a full web server as we already run Apache.

- Place nextcloud data in /var/lib/container so that non-PHP files can be served
directly without php-fpm involved. This location is more suitable for switching
to nextcloud based on a .deb file (if ever). This is done by configuring the
volume to serve a bind mounted directory of our choice.

- Update Apache configuration to proxy to php-fpm instead of another web server.
Include the changes needed for Apache configuration to serve non-php files
directly.

- Managed the volume using quadlet podman systemd generator.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-05-06 17:14:27 -04:00
..
2024-05-02 21:46:11 -07:00
2024-04-22 21:03:15 -04:00
2023-08-23 21:47:39 -04:00
2024-05-02 21:45:25 -07:00
2021-09-20 16:50:37 -04:00
2024-03-16 09:17:35 +02:00
2024-05-02 21:46:11 -07:00
2024-03-16 09:17:35 +02:00