Skip to content

Commit

Permalink
Merge pull request #38 from syphernl/feature/SBT-585
Browse files Browse the repository at this point in the history
SBT-585: Update example pillar with gzip support
  • Loading branch information
nstapelbroek committed Jun 12, 2017
2 parents 0877cda + 75a4126 commit aec9fcf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ env:
matrix:
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=.salt/pillar/vanilla-nginx --file-root=$PWD"
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=.salt/pillar/vanilla-apache --file-root=$PWD"
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=.salt/pillar/zendserver-nginx --file-root=$PWD"
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=.salt/pillar/zendserver-apache --file-root=$PWD"
# - SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=.salt/pillar/zendserver-nginx --file-root=$PWD"
# - SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=.salt/pillar/zendserver-apache --file-root=$PWD"

before_install:
- sudo apt-get update
Expand Down
27 changes: 27 additions & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,33 @@ vhosting:
customip.com:
listen_ip: 127.0.0.1

# Enable gzip on this vhost
enablegzip.net:
gzip:
enable: True

# Enable and customize gzip for this vhost
customzip.net:
gzip:
enable: True
options:
comp_level: 4
gzip_buffers: '6 10k'
types:
- 'text/css'
- 'text/javascript'
- 'text/xml'
- 'text/plain'
- 'text/x-component'
- 'application/javascript'
- 'application/json'
- 'application/xml'
- 'application/rss+xml'
- 'font/truetype'
- 'font/opentype'
- 'application/vnc.ms-fontobject'
- 'image/svg+xml'

# The databases for this user (if any)
mysql_database:
# The databases, where it will automatically create user + db + grant for the given DB name (below)
Expand Down

0 comments on commit aec9fcf

Please sign in to comment.