Update 'README.md'
This commit is contained in:
parent
96d6471771
commit
36243ba359
1 changed files with 4 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
||||||
## set up http auth in the traefik instance
|
## 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
|
install apache2 utils and get the user+password in the right format for the docker-compose file
|
||||||
|
Replace USER and PASS of coursse.
|
||||||
```bash
|
```bash
|
||||||
suo apt-get install apache2-utils
|
suo apt-get install apache2-utils
|
||||||
echo $(htpasswd -nbB <USER> "<PASS>") | sed -e s/\\$/\\$\\$/g
|
echo $(htpasswd -nbB <USER> "<PASS>") | sed -e s/\\$/\\$\\$/g
|
||||||
|
@ -14,11 +15,12 @@ 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
|
Then later, when disabling nextcloud-web, uncomment and fill in under traefik middlewares
|
||||||
regarding the labels of the deb-rust-sncf container.
|
regarding the labels of the deb-rust-sncf container.
|
||||||
|
|
||||||
|
```
|
||||||
nextcloud-web:
|
nextcloud-web:
|
||||||
label:
|
label:
|
||||||
- "traefik.http.routers.nextcloud.middlewares=nextcloud, nextcloud-auth"
|
- "traefik.http.routers.nextcloud.middlewares=nextcloud, nextcloud-auth"
|
||||||
- "traefik.http.middlewares.nextcloud-auth.basicauth.users=<output>
|
- "traefik.http.middlewares.nextcloud-auth.basicauth.users=<output>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Further changes in docker/compose/docker-compose.yml
|
## Further changes in docker/compose/docker-compose.yml
|
||||||
|
|
Loading…
Reference in a new issue