mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-09 10:56:01 +00:00
Implemented SSL_ENABLED
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{% if SSL_ENABLED | bool %}
|
||||
listen {{ WEB_PORT }} ssl http2;
|
||||
listen [::]:{{ WEB_PORT }} ssl http2;
|
||||
|
||||
@@ -12,4 +13,8 @@ ssl_session_tickets on;
|
||||
add_header Strict-Transport-Security max-age=15768000;
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
{% include 'roles/sys-svc-letsencrypt/templates/ssl_credentials.j2' %}
|
||||
{% include 'roles/sys-svc-letsencrypt/templates/ssl_credentials.j2' %}
|
||||
{% else %}
|
||||
listen {{ WEB_PORT }};
|
||||
listen [::]:{{ WEB_PORT }};
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user