h: clean up matrix handlers a bit

This commit is contained in:
Aaron Bieber 2023-05-19 07:50:45 -06:00
parent cffce13c5a
commit b1553522d4
No known key found for this signature in database

View File

@ -643,14 +643,11 @@ in {
locations."/.well-known/matrix/server".extraConfig =
mkMatrixWellKnown matrixServerConfig;
locations."/_matrix" = mkMatrixLoc;
locations."/_matrix/client/v3/sync" = mkMatrixLoc;
locations."/_synapse/client" = mkMatrixLoc;
locations."/client" = mkMatrixSliderLoc;
locations."/_matrix/client/v4/sync" = mkMatrixSliderLoc;
locations."/_matrix/client/unstable/org.matrix.msc3575/sync" =
mkMatrixSliderLoc;
locations."/_matrix/client/unstable/org.matrix.msc3575/sync" = mkMatrixSliderLoc;
locations."/_matrix" = mkMatrixLoc;
locations."/_synapse/client" = mkMatrixLoc;
} else {
forceSSL = true;
enableACME = true;