summaryrefslogtreecommitdiffstats
path: root/nginx_base.sls
blob: dbb77fc52b1e24a885c2801d581d4b668b7958e0 (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
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 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: