Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Modify Nginx configuration to make GET and POST un-restricted in location #896

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions contrib/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -34,8 +34,10 @@ server {
}

location / {
auth_basic "Restricted";
auth_basic_user_file docker-registry.htpasswd;
limit_except GET POST{
auth_basic "Restricted";
auth_basic_user_file docker-registry.htpasswd;
}
include docker-registry.conf;
}