mirror of https://gitlab.crans.org/nounous/nixos
Ajout endpoint admin
parent
fbafd62a2c
commit
ce4de085d7
|
@ -176,5 +176,14 @@
|
|||
proxy_set_header Host $host;
|
||||
'';
|
||||
};
|
||||
|
||||
locations."/_synapse/admin" = {
|
||||
proxyPass = "http://localhost:8008";
|
||||
extraConfig = ''
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue