matrix: aliases will not work here, use redirects
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
3bdb267ad4
commit
d65041c2c1
2 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,5 @@
|
|||
Alias /.well-known/matrix/client /srv/web/fedora.im/.well-known-matrix-client-fedora-im
|
||||
Alias /.well-known/matrix/server /srv/web/fedora.im/.well-known-matrix-server-fedora-im
|
||||
|
||||
DocumentRoot /srv/web/fedora.im/
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule "^/.well-known/matrix/(.*)" "/srv/web/fedora.im/.well-known-matrix-$1-fedora-im" [L]
|
||||
RewriteRule (.*) https://getfedora.org [NE]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Alias /.well-known/matrix/client /srv/web/.well-known-matrix-client-fedoraproject-org
|
||||
Alias /.well-known/matrix/server /srv/web/.well-known-matrix-server-fedoraproject-org
|
||||
RewriteEngine On
|
||||
RewriteRule "^/.well-known/matrix/(.*)" "/srv/web/.well-known-matrix-$1-fedoraproject-org" [L]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue