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

clarify mercure URLs #916

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

clarify mercure URLs #916

wants to merge 3 commits into from

Conversation

dbu
Copy link

@dbu dbu commented Jul 11, 2024

it took me quite a while to figure what the URLs are (they are defined in the compose.yaml file). i think it would be worth it to explain here, because none of the linked pages talk about that.

docs/mercure.md Outdated Show resolved Hide resolved
docs/mercure.md Outdated
@@ -8,5 +8,6 @@ No JS library or SDK required!
![Mercure](mercure-hub.png)

To enable the Mercure hub, update the `Caddyfile` as described [on Mercure's site](https://mercure.rocks/docs/hub/config).
The path to send data as well as the path of the public URL for clients is `/.well-known/mercure`. When running FrankenPHP inside Docker, the full send URL would look like `http://php//.well-known/mercure` (with `php` being the name of the container running FrankenPHP).
Copy link
Owner

@dunglas dunglas Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, for Docker this is more complicated than that because HTTPS needs to be disabled for the internal UR. Maybe can we just add a like to what we've done in Symfony Docker?

Or even copy this example configuration here in a new Docker section?

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 this pull request may close these issues.

2 participants