Skip to content

Commit

Permalink
Merge branch 'master' into feature/sc-17030/orbstack
Browse files Browse the repository at this point in the history
  • Loading branch information
andriitserkovnyi authored Dec 5, 2023
2 parents 9b1736c + 448cc23 commit 25dbfab
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 @@ -770,7 +770,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 25dbfab

Please sign in to comment.