stuff/docker/nextcloud
2025-04-14 21:32:16 +02:00
..
compose.yaml rearrange stuff 2025-04-14 21:32:16 +02:00
README.md rearrange stuff 2025-04-14 21:32:16 +02:00
restart.sh rearrange stuff 2025-04-14 21:32:16 +02:00
stop.sh rearrange stuff 2025-04-14 21:32:16 +02:00

Disabling SSL

docker exec -it nextcloud-aio-mastercontainer bash

in the container:

vi /etc/apache2/sites-available/mastercontainer.conf

Change the line to disable SSL:

SSLEngine off

Restart https within the container:

killall httpd
/usr/sbin/httpd

You can exit after that.

Run OCC command

docker exec -it --user www-data nextcloud-aio-nextcloud /var/www/html/occ

Brute force protection

To add the Caddy Jails container that is running on 192.168.1.200 to the trusted proxies list:

docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set trusted_proxies 2 --value="192.168.1.200"