Moved dependency of certificate validation directory to nginx role
parent
01fafa5ca1
commit
6a6e2f6602
@ -0,0 +1,4 @@
|
||||
---
|
||||
|
||||
dependencies:
|
||||
- role: nginx/application
|
@ -0,0 +1,11 @@
|
||||
location /.well-known/acme-challenge {
|
||||
root {{ nginx_validation_directory }};
|
||||
access_log on;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
}
|
Loading…
Reference in New Issue