Update to 2022-02-13 22:00

This commit is contained in:
Daniel Berteaud
2022-02-13 22:00:06 +01:00
parent 1689aa1152
commit f8e97439c5
4 changed files with 10 additions and 4 deletions

View File

@@ -78,10 +78,10 @@ http {
{% if '_' not in nginx_vhosts | map(attribute='name') | list %}
server {
listen 80 default_server;
listen 443 default_server ssl http2;
listen 80{% if nginx_default_vhost_name == '_' %} default_server{% endif %};
listen 443{% if nginx_default_vhost_name == '_' %} default_server{% endif %} ssl http2;
server_name _;
server_name {{ nginx_default_vhost_name }};
root /usr/share/nginx/html;
# Load location fragments in the default vhost