Skip to content
Snippets Groups Projects
Commit 06d94dc1 authored by Georg Krause's avatar Georg Krause
Browse files

fix: Remove directives for not supported distributions, typo

parent 304aa98f
No related branches found
No related tags found
1 merge request!38Rebase nginx configs for Funkwhale v1.3.0
Pipeline #32034 passed with stage
in 6 minutes and 52 seconds
......@@ -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 #}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment