Saltstack Official Nginx Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
378B

  1. # nginx.ng.install
  2. #
  3. # Manages the main nginx server configuration file.
  4. {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
  5. nginx_config:
  6. file.managed:
  7. {{ sls_block(nginx.server.opts) }}
  8. - name: {{ nginx.lookup.conf_file }}
  9. - source: salt://nginx/ng/files/nginx.conf
  10. - template: jinja
  11. - context:
  12. config: {{ nginx.server.config }}