Fix nginx warning: adding already-default text/html to gzip_types

This commit is contained in:
Slavi Pantaleev
2018-08-17 10:44:34 +03:00
parent 832a4d71c1
commit b0f1a1c80f
5 changed files with 53 additions and 3 deletions

View File

@ -34,7 +34,7 @@ server {
root /dev/null;
gzip on;
gzip_types text/plain text/html application/json application/javascript text/css image/x-icon font/ttf image/gif;
gzip_types text/plain application/json application/javascript text/css image/x-icon font/ttf image/gif;
ssl_certificate {{ matrix_ssl_certs_path }}/live/{{ hostname_riot }}/fullchain;
ssl_certificate_key {{ matrix_ssl_certs_path }}/live/{{ hostname_riot }}/privkey;

View File

@ -34,7 +34,7 @@ server {
root /dev/null;
gzip on;
gzip_types text/plain text/html application/json;
gzip_types text/plain application/json;
ssl_certificate {{ matrix_ssl_certs_path }}/live/{{ hostname_matrix }}/fullchain;
ssl_certificate_key {{ matrix_ssl_certs_path }}/live/{{ hostname_matrix }}/privkey;

View File

@ -596,6 +596,11 @@ password_providers:
profile:
name: {{ matrix_synapse_ext_password_provider_rest_auth_login_profile_name_autofill }}
{% endif %}
{% if matrix_synapse_ext_password_provider_shared_secret_auth_enabled %}
- module: "shared_secret_authenticator.SharedSecretAuthenticator"
config:
sharedSecret: "{{ matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret }}"
{% endif %}
{% endif %}