Closed TheoD02 closed 3 years ago
I have just spent a few hours debugging it. In the end you only need one directive - auto_https off
. My full docker-compose example:
mercure:
image: dunglas/mercure
command: caddy run -config /etc/caddy/Caddyfile.dev
environment:
MERCURE_EXTRA_DIRECTIVES: |
anonymous
auto_https off
cors_origins https://project.wip
demo
publish_origins *
MERCURE_PUBLISHER_JWT_KEY: "!ChangeMe!"
MERCURE_SUBSCRIBER_JWT_KEY: "!ChangeMe!"
SERVER_NAME: ":80"
ports: ["80"]
Hey,
I'm stuck with the SSL certificate, during an update the http_client of symfony redirects me from http to https.
Via mercure we use SERVER_NAME:80 how to configure it directly for use with symfony CLI?
Error :
Thanks !