mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
Optimized webport and certbot_dns_api_token
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
---
|
||||
|
||||
- name: "Validate certbot_dns_api_token"
|
||||
fail:
|
||||
msg: >
|
||||
The variable "certbot_dns_api_token" must be defined and cannot be empty!
|
||||
when: (certbot_dns_api_token | default('') | trim) == ''
|
||||
|
||||
- name: "Ensure all CAA records are present"
|
||||
community.general.cloudflare_dns:
|
||||
api_token: "{{ certbot_dns_api_token }}"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen {{ WEB_PORT }} ssl http2;
|
||||
listen [::]:{{ WEB_PORT }} ssl http2;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ecdh_curve X25519:P-256;
|
||||
|
Reference in New Issue
Block a user