Cleanup
This commit is contained in:
parent
2e7067b71b
commit
5586103fc3
1 changed files with 24 additions and 28 deletions
|
@ -74,9 +74,8 @@
|
|||
{
|
||||
fqdn = "vanpetegem.me";
|
||||
options = {
|
||||
locations =
|
||||
let
|
||||
matrixRedirect = {
|
||||
locations = {
|
||||
"/_matrix" = {
|
||||
proxyPass = "http://127.0.0.1:8448";
|
||||
extraConfig = ''
|
||||
proxy_read_timeout 600;
|
||||
|
@ -84,9 +83,6 @@
|
|||
proxy_set_header X-Forwarded-Ssl on;
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
"/_matrix" = matrixRedirect;
|
||||
"/.well-known/matrix" = {
|
||||
root = pkgs.runCommand "well-known-matrix" { } ''
|
||||
mkdir -p $out/.well-known/matrix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue