blob: 7cebd597f716c857a6e78a762800585176a1cee3 [file] [log] [blame]
_dollar: '$'
salt:
minion:
enabled: true
nginx:
server:
enabled: true
extras: false
bind:
address: 127.0.0.1
protocol: tcp
geo:
enabled: true
items:
global_geo_limiting:
enabled: true
variable: ip_limit_key
body:
default:
value: '1'
unlimited_client1:
name: '10.12.100.1/32'
value: '0'
map:
enabled: true
items:
global_geo_limiting_map:
enabled: true
string: ip_limit_key
variable: ip_limit_action
body:
limited:
name: 1
value: '$binary_remote_addr'
unlimited:
name: 0
value: '""'
limit_req_module:
limit_req_zone:
global_limit_zone:
key: ip_limit_action
size: 10m
rate: '1r/s'
limit_req_status: 503
limit_conn_module:
limit_conn_zone:
global_limit_conn_zone:
key: 'binary_remote_addr'
size: 20m
enabled: true
openstack_web_conn_zone:
key: 'binary_remote_addr'
size: 10m
enabled: true
limit_conn:
global_limit_conn_zone:
connections: 100
enabled: true
limit_conn_status: 503
site:
nginx_proxy_site01:
enabled: true
type: nginx_proxy
name: site01
proxy:
host: 127.0.0.1
port: 808
protocol: http
host:
name: cloudlab.domain.com
port: 31337
limit_req_module:
limit_req:
global_limit_zone:
burst: 5
enabled: true
limit_conn_module:
limit_conn:
openstack_web_conn_zone:
connections: 50
enabled: true
limit_conn_status: 503