From 36243ba35939327343860860beedabc534950481 Mon Sep 17 00:00:00 2001 From: alpcentaur Date: Mon, 19 Apr 2021 14:53:37 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86cd01f..157373c 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ## set up http auth in the traefik instance install apache2 utils and get the user+password in the right format for the docker-compose file +Replace USER and PASS of coursse. ```bash suo apt-get install apache2-utils echo $(htpasswd -nbB "") | sed -e s/\\$/\\$\\$/g @@ -13,12 +14,13 @@ In `docker/compose/docker-compose.yml` fill in the to the right place In this case, in the beginning, put it under the nextcloud instance. Then later, when disabling nextcloud-web, uncomment and fill in under traefik middlewares regarding the labels of the deb-rust-sncf container. - + +``` nextcloud-web: label: - "traefik.http.routers.nextcloud.middlewares=nextcloud, nextcloud-auth" - "traefik.http.middlewares.nextcloud-auth.basicauth.users= - +``` ## Further changes in docker/compose/docker-compose.yml