mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-05 16:17:38 +02:00
Update to 2022-02-13 22:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user