Issue 75 fix - allow all HTTP methods to pass through registry proxy #182
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Regarding the closed issue #75 - Can't push when using frontend as registry it seems there is still an issue to @jangrewe's point...
Noticing the Apache config is designed to allow proxying v2 straight through to the registry:
And that I could pull, but not push, because of the
FRONTEND_BROWSE_ONLY_MODE
HTTP GET restriction:It seems only fair to allow all HTTP methods to flow through the
/v2/
proxy (which is what I've added in this patch).I've tested the change in my environment and pushes now work through the frontend. FWIW, I spent hours trying to figure out what was wrong... At the very least if this patch isn't accepted, something should be added to the README explaining that pushes aren't supported through the frontend, though I'm unsure why you'd want to prohibit them.