mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-02-28 01:43:10 +00:00
fix(matrix-static-files): restore /.well-known serving with static-web-server v2.41.0
Users reported that /.well-known/matrix/* stopped being served after the image bump to static-web-server v2.41.0.
Regression introduced by commit 32aeaca28b in PR #4951: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4951
Root cause: upstream changed hidden-file handling defaults, so paths under /.well-known were treated as hidden and no longer served by default.
Fix by explicitly configuring SERVER_IGNORE_HIDDEN_FILES=false in the matrix-static-files role and rendering it as a JSON boolean in the env template, making behavior stable across upstream default changes.
This commit is contained in:
@@ -121,6 +121,10 @@ matrix_static_files_environment_variable_server_log_remote_address: false
|
|||||||
# See: https://static-web-server.net/configuration/environment-variables/
|
# See: https://static-web-server.net/configuration/environment-variables/
|
||||||
matrix_static_files_environment_variable_server_config_file: /config/config.toml
|
matrix_static_files_environment_variable_server_config_file: /config/config.toml
|
||||||
|
|
||||||
|
# Controls the SERVER_IGNORE_HIDDEN_FILES environment variable.
|
||||||
|
# See: https://static-web-server.net/configuration/environment-variables/
|
||||||
|
matrix_static_files_environment_variable_server_ignore_hidden_files: false
|
||||||
|
|
||||||
# Additional environment variables.
|
# Additional environment variables.
|
||||||
matrix_static_files_environment_variables_additional_variables: ''
|
matrix_static_files_environment_variables_additional_variables: ''
|
||||||
|
|
||||||
|
|||||||
@@ -10,5 +10,6 @@ SERVER_LOG_LEVEL={{ matrix_static_files_environment_variable_server_log_level }}
|
|||||||
SERVER_LOG_REMOTE_ADDRESS={{ 'true' if matrix_static_files_environment_variable_server_log_remote_address else 'false' }}
|
SERVER_LOG_REMOTE_ADDRESS={{ 'true' if matrix_static_files_environment_variable_server_log_remote_address else 'false' }}
|
||||||
|
|
||||||
SERVER_CONFIG_FILE={{ matrix_static_files_environment_variable_server_config_file }}
|
SERVER_CONFIG_FILE={{ matrix_static_files_environment_variable_server_config_file }}
|
||||||
|
SERVER_IGNORE_HIDDEN_FILES={{ matrix_static_files_environment_variable_server_ignore_hidden_files | to_json }}
|
||||||
|
|
||||||
{{ matrix_static_files_environment_variables_additional_variables }}
|
{{ matrix_static_files_environment_variables_additional_variables }}
|
||||||
|
|||||||
Reference in New Issue
Block a user