tlu/salt/states/rancher/nginx.sls

15 lines
343 B
Plaintext
Raw Normal View History

2021-11-05 15:06:45 +00:00
proxy configuration for nginx:
file.managed:
- name: /etc/nginx/vhosts.d/rancher-proxy.conf
- source: salt://rancher/files/rancher-proxy.conf.jinja
- template: jinja
- user: root
- group: root
- mode: "0644"
reload nginx:
service.running:
- name: nginx
- watch:
- file: proxy configuration for nginx