Skip to content

Commit

Permalink
Remove lines to keep numbering increasing
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Aug 19, 2024
1 parent 1c76bc0 commit 560a2cc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions services/proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ The proxy sets a default certificate resolver, using letsencrypt. To use it, you

1. change the [resolver settings](./config/.tls.env). If the docker volume `letsencrypt_proxy_data` already exists, you might need to remove it to apply changes from the [.tls.env file](./config/.tls.env)
2. add dedicated labels to each service to expose, making sure that the URLs are reachable by letsencrypt. You should set: the service public URL and the certificate resolver annotation and set the entrypoint to `websecure` to use port 443 only. For example, for the [frontend service](../frontend/compose.base.yaml):

```diff
labels:
- - traefik.http.routers.frontend.rule=Host(`localhost`)
+ - traefik.http.routers.frontend.rule=Host(`<YOUR_PUBLIC_HOST>`)
+ - traefik.http.routers.frontend.entrypoints=websecure
```

3. Change any other service that referenced the changed host
4. rerun `docker compose up -d`

0 comments on commit 560a2cc

Please sign in to comment.