From 06d94dc156832c8f3af16ca644976220260b1eeb Mon Sep 17 00:00:00 2001 From: Georg Krause <mail@georg-krause.net> Date: Mon, 14 Aug 2023 13:30:31 +0200 Subject: [PATCH] fix: Remove directives for not supported distributions, typo --- templates/nginx.conf.j2 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index 612039b..e06cfd6 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -55,13 +55,7 @@ server { ssl_prefer_server_ciphers off; ssl_stapling on; ssl_stapling_verify on; - {% if ansible_os_family in ["Debian", "Archlinux"] -%} - ssl_trusted_certificates /etc/ssl/certs/ca-certificates.crt; - {% elif ansible_os_family in ["RedHat"] -%} - ssl_trusted_certificates /etc/ssl/certs/ca-bundle.crt; - {% else -%} {# Missing: Suse, Gentoo, Mandrake #} - # Please set ssl_trusted_certificates using funkwhale_nginx_additional_config and open an issue - {% endif -%} {# ansible_os_family #} + ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt; {% endif -%} {# funkwhale_nginx_tls_configure_ciphers #} add_header Strict-Transport-Security "max-age=31536000" always; {% endif -%} {# funkwhale_nginx_tls_termination #} -- GitLab