diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2017-01-10 17:46:02 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-01-10 17:46:02 +0100 |
commit | de52f4784e11f2b3a063eadf84f27247ddafb94b (patch) | |
tree | 76396d9d83043b28b3987ba5d272e71dbace32b4 /nginx/base.sls | |
parent | 6045747cc9e427b33e0dd43d3325b85aa1c2c56e (diff) | |
download | pillar-de52f4784e11f2b3a063eadf84f27247ddafb94b.tar.xz |
Reorganize nginx configs
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx/base.sls')
-rw-r--r-- | nginx/base.sls | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nginx/base.sls b/nginx/base.sls new file mode 100644 index 0000000..10f39b3 --- /dev/null +++ b/nginx/base.sls @@ -0,0 +1,32 @@ +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/* + +# vim: ft=yaml et: |