Sfoglia il codice sorgente

Merge pull request #208 from noelmcloughlin/fixes4

Document #122 solution in pillar.example
tags/v0.55.0
Niels Abspoel 6 anni fa
parent
commit
d1a629bc8c
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. +7
    -0
      pillar.example

+ 7
- 0
pillar.example Vedi File



# nginx.conf (main server) declarations # nginx.conf (main server) declarations
# dictionaries map to blocks {} and lists cause the same declaration to repeat with different values # dictionaries map to blocks {} and lists cause the same declaration to repeat with different values
# see also http://nginx.org/en/docs/example.html
config: config:
source_path: salt://path_to_nginx_conf_file/nginx.conf # IMPORTANT: This option is mutually exclusive with the rest of the source_path: salt://path_to_nginx_conf_file/nginx.conf # IMPORTANT: This option is mutually exclusive with the rest of the
# options; if it is found other options (worker_processes: 4 and so # options; if it is found other options (worker_processes: 4 and so
- /etc/nginx/conf.d/*.conf - /etc/nginx/conf.d/*.conf
- /etc/nginx/sites-enabled/* - /etc/nginx/sites-enabled/*


### Module ngx_http_log_module example ##
log_format: |-
main '...';
access_log /var/log/nginx/access_log main
access_log: [] #suppress default access_log option from being added

servers: servers:
disabled_postfix: .disabled # a postfix appended to files when doing non-symlink disabling disabled_postfix: .disabled # a postfix appended to files when doing non-symlink disabling
symlink_opts: {} # partially exposes file.symlink params when symlinking enabled sites symlink_opts: {} # partially exposes file.symlink params when symlinking enabled sites

Loading…
Annulla
Salva