blob: 47f430a3c198b2496e30b2b78b2498492f1f2071 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
nginx:
ng:
source:
opts: {}
service:
enable: True
opts: {}
server:
config:
events:
worker_connections: 1024
http:
sendfile: 'on'
aio: 'on'
directio: 4m
keepalive_timeout: 65
gzip: 'on'
gzip_proxied: 'any'
gzip_types: '*'
gzip_vary: 'on'
charset: utf-8
charset_types: text/xml text/plain application/javascript application/rss+xml
server_tokens: 'off'
etag: 'on'
ssi: 'on'
include:
- /etc/nginx/mime.types
- /etc/nginx/conf.d/*.conf
- /etc/nginx/sites-enabled/*
servers:
managed_opts:
require_in:
- file: nginx_server_available_dir
symlink_opts:
require_in:
- file: nginx_server_enabled_dir
dir_opts:
clean: 'on'
# vim: ft=yaml et:
|