enable-ssl-on-traefik.rst
26 lines
| 840 B
| text/x-rst
|
RstLexer
Enable SSL
To Enable SSL, uncomment the traefik entrypoints labels in .custom folder docmpose overrides files.
- Those files are:
- docker-compose-apps.override.yaml
- docker-compose-metrics.override.yaml
- docker-compose-router.override.yaml
- docker-compose-services.override.yaml
Search for # Enable http+https endpoints comment, and uncomment specific label. For example to enable ssl mode for RhodeCode:
service: rhodecode: labels: <-- this section was uncommented # Enable http+https endpoints to serve SSL, select just 1 to disable the other - "traefik.http.routers.rhodecode.entrypoints=http,https"
Now the service will work on both http and https, to disable plain mode leave only https entrypoint