️: improve configuration for nginx

This commit is contained in:
VC
2025-02-07 16:35:43 +01:00
parent b57ed3b620
commit bdae7b1060
5 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
---
nginx_extra_mods: []
nginx_other_headers: true

View File

@@ -54,7 +54,7 @@ http {
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;
include nginx.ssl.conf;
{% if inventory_hostname != 'pt1.dmz.mateu.be' %}
{% if nginx_other_headers %}
include nginx.other_headers.conf;
{% endif %}