Skip to content

Commit

Permalink
test(snippets): add tests for snippets includes
Browse files Browse the repository at this point in the history
based on #275

fixes #274
  • Loading branch information
javierbertoli committed Jun 14, 2021
1 parent c55120a commit 1c83b6d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/salt/passenger/pillar/nginx.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# vim: ft=yaml
---
# Simple pillar setup
# - snippet letsencrypt
# - remove 'default' site
# - create 'mysite' site

Expand All @@ -21,10 +20,6 @@ nginx:
lookup:
passenger_package: {{ passenger_pkg }}

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

0 comments on commit 1c83b6d

Please sign in to comment.