mirror of
https://github.com/geerlingguy/ansible-for-devops.git
synced 2024-05-19 06:50:03 +00:00
Issue #83: Final tweaks to examples in Chapter 12.
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
[letsencrypt]
|
||||
subdomain.example.com ansible_ssh_user=myuser [email protected]
|
||||
subdomain.example.com
|
||||
|
||||
[letsencrypt:vars]
|
||||
ansible_ssh_user=myuser
|
||||
[email protected]
|
||||
|
||||
@@ -8,7 +8,7 @@ server {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
# Serve HTTPS traffic using the self-signed certificate created by Ansible.
|
||||
# Serve HTTPS traffic using the Let's Encrypt certificate.
|
||||
server {
|
||||
listen 443 ssl default_server;
|
||||
server_name {{ inventory_hostname }};
|
||||
|
||||
Reference in New Issue
Block a user