Saltstack Official Nginx Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314
  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 }}