Fix nginx warning: adding already-default text/html to gzip_types
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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 %}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user