-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Run traefik as non-root user #2217
base: master
Are you sure you want to change the base?
Conversation
The diff looks good from here. Though I haven't launched it recently
|
IDK if the default redirect to HTTPS in #1992 is a bad way to accomplish
HTTPS-only whole (while it's not yet appropriate to add HTTP STS yet)?
IIRC, the regex replacement with port numbering took a second to get right.
Arguably, IMHO, it still makes sense to put nginx in front of traefik (or
whatever e.g. k8s/k3s ingress that can do WAF rules and HTTP request
normalization)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested this and it works like a charm ✨
Thanks for taking the time to fix this 🙌
Thanks!
…On Thursday, September 12, 2019, Bruno Alla ***@***.***> wrote:
@browniebroke approved this pull request.
Just tested this and it works like a charm ✨
Thanks for taking the time to fix this 🙌
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Just got an email from the traefik seclist.
...
We're releasing Traefik 1.7.15 to fix the issue. In the meantime, we
strongly recommend that you set the TLS.minVersion option to TLS 1.2 on the
entrypoint configuration (
https://docs.traefik.io/configuration/entrypoints/#specify-minimum-tls-version
)
More technical information about this can be found at:
https://golang.org/doc/go1.13#crypto/tls
https://tools.ietf.org/html/rfc7568
|
Thank you for this, but it seems like a separate issue than the one being fixed here. Can it be tracked separately? @jayfk are we ok to merge this one? LGTM |
We might need to put a hold on this for now. I've seen some strange redirects happening running the config. We might need to add the redirect rules @westurner referenced on the original issue. Once I have a bit more time, I'll investigate. |
# Conflicts: # {{cookiecutter.project_slug}}/compose/production/traefik/Dockerfile # {{cookiecutter.project_slug}}/compose/production/traefik/traefik.toml
Is this still an issue? Linked to #2542? |
This has been brought up by @westurner, original issue is #1992
The PR adds a non-root user traefik and a traefik group and runs the container as this user. This makes it consistent with what we have in
compose/production/django/Dockerfile
.Care to give it a spin @westurner?