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