stuff/docker/nextcloud/README.md
2025-04-14 21:32:16 +02:00

40 lines
686 B
Markdown

# Disabling SSL
```sh
docker exec -it nextcloud-aio-mastercontainer bash
```
in the container:
```sh
vi /etc/apache2/sites-available/mastercontainer.conf
```
Change the line to disable SSL:
```
SSLEngine off
```
Restart https *within the container*:
```sh
killall httpd
/usr/sbin/httpd
```
You can exit after that.
# Run OCC command
```sh
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:
```sh
docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set trusted_proxies 2 --value="192.168.1.200"
```