fix(deploy): serve .well-known by disabling sws hidden-files filter #54

Merged
claudiomaradonna merged 1 commit from fix/matrix-well-known-content-type into master 2026-04-27 23:15:29 +02:00
Collaborator

The previous commit (a159221) introduced sws.toml to pin Content-Type:
application/json on /.well-known/matrix/{server,client}. With a config
file loaded, static-web-server hides dotfiles and dotted directories by
default, so .well-known/* started returning 404 — the Content-Type
override was applied to the matched route, but no file was found
behind it, which the Matrix federation tester reports as failure.

Set ignore-hidden-files = false explicitly under [general] so sws
serves the .well-known directory again.

The previous commit (a159221) introduced sws.toml to pin Content-Type: application/json on /.well-known/matrix/{server,client}. With a config file loaded, static-web-server hides dotfiles and dotted directories by default, so .well-known/* started returning 404 — the Content-Type override was applied to the matched route, but no file was found behind it, which the Matrix federation tester reports as failure. Set ignore-hidden-files = false explicitly under [general] so sws serves the .well-known directory again.
The previous commit (a159221) introduced sws.toml to pin Content-Type:
application/json on /.well-known/matrix/{server,client}. With a config
file loaded, static-web-server hides dotfiles and dotted directories by
default, so .well-known/* started returning 404 — the Content-Type
override was applied to the matched route, but no file was found
behind it, which the Matrix federation tester reports as failure.

Set ignore-hidden-files = false explicitly under [general] so sws
serves the .well-known directory again.
claudiomaradonna deleted branch fix/matrix-well-known-content-type 2026-04-27 23:15:32 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
unitoo/website!54
No description provided.