Skip to content

Commit

Permalink
Merge branch 'master' into custom-xdebug-host-ip
Browse files Browse the repository at this point in the history
  • Loading branch information
peresypkin committed Nov 20, 2023
2 parents 3ca2f40 + 448cc23 commit 385744a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/07-deploy-file/02-deploy.file.reference.v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ groups:

#### Define allowlisted IP addresses

* `docker: maintenance: whitelist: ips:` - defines the allowlisted IP addresses from which the applications in the maintenance mode can be accessed.
* `docker: maintenance: whitelist: ips:` - defines the allowlisted IP addresses or a CIDR IP from which the applications in the maintenance mode can be accessed.

```yaml
version: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ server_tokens off;

large_client_header_buffers 4 32k;

map $remote_addr $is_whitelisted_ip {
geo $is_whitelisted_ip {
default "0";
{% if docker['maintenance']['whitelist']['ips'] is defined %}
{% for ip in docker['maintenance']['whitelist']['ips'] | default([]) %}
Expand Down

0 comments on commit 385744a

Please sign in to comment.