config: Allow unconditional access to admin interface with compose
This commit is contained in:
parent
846f2ce8a4
commit
168be0f7cc
1 changed files with 6 additions and 6 deletions
|
@ -121,9 +121,9 @@ server {
|
|||
#auth_basic "Secure Zone";
|
||||
#auth_basic_user_file ficpasswd;
|
||||
|
||||
if ($remote_user !~ "^nemunaire|bombal_s$") {
|
||||
return 403;
|
||||
}
|
||||
#if ($remote_user !~ "^nemunaire|bombal_s$") {
|
||||
# return 403;
|
||||
#}
|
||||
|
||||
proxy_pass http://fic-admin:8081/admin/api/;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
|
@ -134,9 +134,9 @@ server {
|
|||
#auth_basic "Secure Zone";
|
||||
#auth_basic_user_file ficpasswd;
|
||||
|
||||
if ($remote_user !~ "^nemunaire|bombal_s$") {
|
||||
return 403;
|
||||
}
|
||||
#if ($remote_user !~ "^nemunaire|bombal_s$") {
|
||||
# return 403;
|
||||
#}
|
||||
|
||||
proxy_pass http://fic-admin:8081;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
|
|
Reference in a new issue