- nginx:
- install_from_source: True
- use_upstart: True
- use_sysvinit: False
- user_auth_enabled: True
- with_luajit: False
- with_openresty: True
- repo_version: development
- 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:
-
- install_from_ppa: True
-
- ppa_version: 'stable'
-
-
- 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
-
- rh_os_releasever: '6'
-
-
- 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:
-
- available_dir: /tmp/sites-available
- enabled_dir: /tmp/sites-enabled
- 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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- certificates:
- 'www.example.com':
- public_cert: |
- -----BEGIN CERTIFICATE-----
- (Your Primary SSL certificate: www.example.com.crt)
- -----END CERTIFICATE-----
- -----BEGIN CERTIFICATE-----
- (Your Intermediate certificate: ExampleCA.crt)
- -----END CERTIFICATE-----
- -----BEGIN CERTIFICATE-----
- (Your Root certificate: TrustedRoot.crt)
- -----END CERTIFICATE-----
- private_key: |
- -----BEGIN RSA PRIVATE KEY-----
- (Your Private Key: www.example.com.key)
- -----END RSA PRIVATE KEY-----
|