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

encode: Default to order the formats are enabled for prefer in Caddyfile #4151

Merged
merged 1 commit into from May 10, 2021

Conversation

francislavoie
Copy link
Member

@francislavoie francislavoie commented May 7, 2021

Fixes #4150, discussion on caddyserver/website#148

/cc @ueffel @polarathene

I don't personally have a strong opinion on whether we should do this or not, but if we do, it should be done before v2.4.0. It's not complicated, so I figured I'd just write the PR to save time if we do decide to merge it.

@francislavoie francislavoie added this to the v2.4.0 milestone May 7, 2021
@francislavoie francislavoie requested a review from mholt May 7, 2021 03:20
@mholt mholt added the under review 🧐 Review is pending before merging label May 7, 2021
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thanks Francis

@mholt mholt removed the under review 🧐 Review is pending before merging label May 10, 2021
@mholt mholt merged commit 7776471 into master May 10, 2021
@mholt mholt deleted the encode-prefer-defaults branch May 10, 2021 16:06
francislavoie added a commit that referenced this pull request May 10, 2021
Followup to #4150, #4151 /cc @ueffel @polarathene

After a bit of discussion with @mholt, we decided to remove `prefer` as a subdirective and just go with using the order implicitly always. Simpler config, simpler docs, etc.
francislavoie added a commit that referenced this pull request May 10, 2021
Followup to #4150, #4151 /cc @ueffel @polarathene

After a bit of discussion with @mholt, we decided to remove `prefer` as a subdirective and just go with using the order implicitly always. Simpler config, simpler docs, etc.
mholt pushed a commit that referenced this pull request May 10, 2021
Followup to #4150, #4151 /cc @ueffel @polarathene

After a bit of discussion with @mholt, we decided to remove `prefer` as a subdirective and just go with using the order implicitly always. Simpler config, simpler docs, etc.

Effectively changes 7776471 and reverts a small part of f35a7fa.
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.

Allow for Caddyfile to implicitly set prefer value for encode directive
2 participants