diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-21 12:31:27 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-21 12:31:27 +0000 |
commit | 9c5a1be87eed1ff7a6f54b6f92d98b666de92f92 (patch) | |
tree | f91b8ba761a217ffd4f1642497f5bcab8c42f45d /nginx_base.sls | |
download | pillar-9c5a1be87eed1ff7a6f54b6f92d98b666de92f92.tar.xz |
Initial commit
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx_base.sls')
-rw-r--r-- | nginx_base.sls | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nginx_base.sls b/nginx_base.sls new file mode 100644 index 0000000..864a7e2 --- /dev/null +++ b/nginx_base.sls @@ -0,0 +1,31 @@ +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_types: text/css + gzip_vary: 'on' + charset: utf-8 + charset_types: text/xml text/plain application/javascript application/rss+xml application/json + server_tokens: 'off' + etag: 'on' + ssi: 'on' + + include: + - /etc/nginx/mime.types + - /etc/nginx/conf.d/*.conf + - /etc/nginx/sites-enabled/* + +# vim: ft=yaml et: |