- nginx:
- install_from_source: True
- use_upstart: True
- user_auth_enabled: True
- with_luajit: False
- with_openresty: True
- set_real_ips:
- from_ips:
- - 10.10.10.0/24
- real_ip_header: X-Forwarded-For
- modules:
- headers-more:
- source: http://github.com/agentzh/headers-more-nginx-module/tarball/v0.21
- source_hash: sha1=dbf914cbf3f7b6cb7e033fa7b7c49e2f8879113b
-
-
-
-
-
- nginx:
- ng:
-
- lookup:
- package: nginx-custom
- service: nginx
- webuser: www-data
- conf_file: /etc/nginx/nginx.conf
- vhost_available: /etc/nginx/sites-available
- vhost_enabled: /etc/nginx/sites-enabled
- vhost_use_symlink: True
-
-
- from_source: False
-
- package:
- opts: {}
-
- service:
- enable: True
- opts: {}
-
- server:
- opts: {}
-
-
-
- config:
- worker_processes: 4
- pid: /run/nginx.pid
- events:
- worker_connections: 768
- http:
- sendfile: 'on'
- include:
- - /etc/nginx/mime.types
- - /etc/nginx/conf.d/*.conf
-
- vhosts:
- disabled_postfix: .disabled
- symlink_opts: {}
- rename_opts: {}
- managed_opts: {}
- dir_opts: {}
-
-
-
- managed:
- mysite:
-
- dir: /tmp
- disabled_name: mysite.aint_on
- enabled: True
-
-
-
-
- config:
- - server:
- - server_name: localhost
- - listen:
- - 80
- - default_server
- - index:
- - index.html
- - index.htm
- - location ~ .htm:
- - try_files:
- - $uri
- - $uri/ =404
- - test: something else
-
-
-
-
-
-
-
-
-
-
-
|