fix alias traversal
This commit is contained in:
@@ -54,13 +54,13 @@ in {
|
|||||||
"${config.services.matrix-conduit.settings.global.server_name}" = {
|
"${config.services.matrix-conduit.settings.global.server_name}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/.well-known/matrix/server" = {
|
locations."/.well-known/matrix/server/" = {
|
||||||
alias = "${well_known_server}";
|
alias = "${well_known_server}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
locations."/.well-known/matrix/client" = {
|
locations."/.well-known/matrix/client/" = {
|
||||||
alias = "${well_known_client}";
|
alias = "${well_known_client}";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
|
|||||||
Reference in New Issue
Block a user