mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2024-09-23 23:00
This commit is contained in:
@@ -21,9 +21,11 @@ server {
|
||||
listen {{ port }} ssl{% if vhost.name == '_' %} default_server{% endif %};
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
listen {{ vhost.ssl.port }} ssl{% if vhost.name == '_' %} default_server{% endif %};
|
||||
listen {{ vhost.ssl.port }} ssl{% if nginx_installed_version is version('1.25.1', '<') %} http2{% endif %}{% if vhost.name == '_' %} default_server{% endif %};
|
||||
{% endif %}
|
||||
{% if nginx_installed_version is version('1.25.1', '>=') %}
|
||||
http2 on;
|
||||
{% endif %}
|
||||
|
||||
{% if vhost.ssl.cert is defined and vhost.ssl.key is defined %}
|
||||
ssl_certificate {{ vhost.ssl.cert }};
|
||||
|
Reference in New Issue
Block a user