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

How to disable tls for production env to work behind Traefik? #530

Closed
pyatnitsev opened this issue Dec 16, 2023 · 1 comment
Closed

How to disable tls for production env to work behind Traefik? #530

pyatnitsev opened this issue Dec 16, 2023 · 1 comment

Comments

@pyatnitsev
Copy link

Hello!

Thank you for your work on this docker configuration.

The information about tls was provided in the docs, but how to disable using tis completely?

I want to use Franklin with caddy (but without mercure) behind the traefik router. How to configure caddyfile for that?

It would be great, to add some notes about disabling tls to the docs.

Thank you!

@maxhelias
Copy link
Collaborator

Hello,

To disable tls you can see here : #451
And for mercure, just comment this line : https://github.com/dunglas/symfony-docker/blob/main/frankenphp/Caddyfile#L32-L45

And yes, the docs could be improve to explain the new variables available in the caddyfile to custom it like : $CADDY_GLOBAL_OPTIONS, $CADDY_EXTRA_CONFIG, $CADDY_SERVER_EXTRA_DIRECTIVES and also the mercure & franken config.
I have created an issue to keep a reminder : #532

PR are welcome 😉

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

No branches or pull requests

2 participants