Nextcloud FPM with SSLH simple server docker-compose script
| Name | Version |
|---|---|
| shaddysignal/sslh-hub | latest |
| traefik | 2.10.1 |
| nextcloud | 25.0.6-fpm |
| nginx | 1.23.2-alpine |
| mariadb | latest |
| redis | 7.0.5-alpine |
Create a new docker network for Traefik :
docker network create proxy-netPull Docker images :
docker-compose pull Edit the .env, conf/traefik.yml & conf/traefik_dynamic_conf.yml and adapt its to your needs :
cp sample.env .env
nano .env
cp conf/traefik.sample.yml conf/traefik.yml
nano conf/traefik.yml
cp conf/traefik_dynamic_conf.sample.yml conf/traefik_dynamic_conf.yml
nano conf/traefik_dynamic_conf.ymlStart all services :
docker-compose up -d
Stop all services :
docker-compose down
Edit config.php file :
nano $DATA/nextcloud/config.php
$DATA is the variable defined in .env file
Add 'overwriteprotocol' => 'https' parameter at the end of config.php file