services/synapse: redirect sub to dom
This commit is contained in:
parent
4ff146e0fa
commit
2107d55b11
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ in {
|
||||||
useACMEHost = dom;
|
useACMEHost = dom;
|
||||||
|
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
return 404;
|
return 302 'https://${dom}';
|
||||||
'';
|
'';
|
||||||
|
|
||||||
locations."/_matrix" = {
|
locations."/_matrix" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue