moved force_ssl and self signed cert to tasks
This commit is contained in:
parent
b3aa2c6169
commit
6781423adf
3 changed files with 19 additions and 22 deletions
|
|
@ -12,3 +12,15 @@ nginx:
|
|||
resolver:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
|
||||
nginx_forcessl_vhost:
|
||||
"https-redirect":
|
||||
listen:
|
||||
nossl: True
|
||||
ssl: False
|
||||
locations:
|
||||
- match: '/.well-known/acme-challenge/'
|
||||
alias: '/var/www/letsencrypt/'
|
||||
- match: '/'
|
||||
custom:
|
||||
- return 301 https://$host$request_uri
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue