Saltstack Official Nginx Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
-
- # Simple pillar setup
- # - snippet letsencrypt
- # - remove 'default' site
- # - create 'mysite' site
-
- nginx:
- ng:
- snippets:
- letsencrypt:
- - location ^~ /.well-known/acme-challenge/:
- - proxy_pass: http://localhost:9999
- servers:
- managed:
- default:
- deleted: True
- enabled: False
- config: {}
-
- mysite:
- enabled: True
- config:
- - server:
- - server_name: localhost
- - listen:
- - '80 default_server'
- - index: 'index.html index.htm'
- - location ~ .htm:
- - try_files: '$uri $uri/ =404'
- - include: 'snippets/letsencrypt.conf'
|