blob: 4a1f5b188a0f53e6c9e7987e27d8af5601625cce [file] [log] [blame]
parameters:
_param:
nginx_proxy_salt_api_proxy_port: ${_param:salt_master_api_port}
nginx_proxy_ssl:
enabled: true
authority: ${_param:salt_minion_ca_authority}
engine: salt
key_file: /srv/salt/pki/${_param:cluster_name}/${salt:minion:cert:salt_api:common_name}.key
cert_file: /srv/salt/pki/${_param:cluster_name}/${salt:minion:cert:salt_api:common_name}.crt
all_file: /srv/salt/pki/${_param:cluster_name}/${salt:minion:cert:salt_api:common_name}-chain-with-key.pem
ca_file: /srv/salt/pki/${_param:cluster_name}/${salt:minion:cert:salt_api:common_name}-ca.pem
nginx:
server:
enabled: true
site:
nginx_proxy_salt_api:
enabled: true
type: nginx_proxy
name: salt_api
proxy:
host: ${_param:infra_config_hostname}.${_param:cluster_domain}
port: ${_param:nginx_proxy_salt_api_proxy_port}
protocol: ${_param:nginx_proxy_salt_api_proxy_protocol}
# Prevent nginx from caching request body
request_buffer: false
timeout: 1800
host:
name: ${_param:infra_config_hostname}.${_param:cluster_domain}
port: ${_param:nginx_proxy_salt_api_site_port}
protocol: ${_param:nginx_proxy_salt_api_site_protocol}
ssl: ${_param:nginx_proxy_ssl}