Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Delivery URL / container isn't accessible via HTTPS #17

Closed
ambrauer opened this issue Aug 10, 2020 · 2 comments · Fixed by #20
Closed

Content Delivery URL / container isn't accessible via HTTPS #17

ambrauer opened this issue Aug 10, 2020 · 2 comments · Fixed by #20

Comments

@ambrauer
Copy link

The default Sitecore Compose file (docker-compose.yml) doesn't configure the cd service for HTTPS, but the documentation has it being accessed as such. For example: https://containers.doc.sitecore.com/docs/config-transforms#run-docker-examples. This results in a 404 when browsing https://cd.dockerexamples.localhost.

The Compose override files that include the cd service (docker-compose.xm1.override.yml and docker-compose.xp1.override.yml) should have this configured appropriately in Traefik for HTTPS access.

@ambrauer
Copy link
Author

PR coming shortly (once I get access). In the meantime, the fix is to add the following to the cd service configuration (in the override Compose file):

    labels:
      - "traefik.http.routers.cd.entrypoints=websecure"
      - "traefik.http.routers.cd.tls=true"

@BasLijten
Copy link

@ambrauer this fix works for the CD environment. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants