Browse Source

Merge pull request #284 from netmanagers/rework-fix-snippets

test(snippets): add tests for snippets' includes
tags/v2.7.3
Imran Iqbal 3 years ago
parent
commit
dc571c9406
No account linked to committer's email address
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      test/salt/passenger/pillar/nginx.sls

+ 0
- 6
test/salt/passenger/pillar/nginx.sls View File

# vim: ft=yaml # vim: ft=yaml
--- ---
# Simple pillar setup # Simple pillar setup
# - snippet letsencrypt
# - remove 'default' site # - remove 'default' site
# - create 'mysite' site # - create 'mysite' site


lookup: lookup:
passenger_package: {{ passenger_pkg }} passenger_package: {{ passenger_pkg }}


snippets:
letsencrypt.conf:
- location ^~ /.well-known/acme-challenge/:
- proxy_pass: http://localhost:9999
server: server:
config: config:
# This is required to get the passenger module loaded # This is required to get the passenger module loaded
- index: 'index.html index.htm' - index: 'index.html index.htm'
- location ~ .htm: - location ~ .htm:
- try_files: '$uri $uri/ =404' - try_files: '$uri $uri/ =404'
- include: '/etc/nginx/snippets/letsencrypt.conf'

Loading…
Cancel
Save