discord domain thingy
This commit is contained in:
parent
818f9bc453
commit
2e6aa4d733
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
adtya-xyz,
|
adtya-xyz,
|
||||||
|
secrets,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
system = pkgs.system;
|
system = pkgs.system;
|
||||||
|
@ -21,6 +22,11 @@ in {
|
||||||
respond `{"m.homeserver": {"base_url": "https://matrix.adtya.xyz:443"}}`
|
respond `{"m.homeserver": {"base_url": "https://matrix.adtya.xyz:443"}}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handle /.well-known/discord {
|
||||||
|
header Access-Control-Allow-Origin *
|
||||||
|
respond `${secrets.discord_domain_well_known}`
|
||||||
|
}
|
||||||
|
|
||||||
handle {
|
handle {
|
||||||
root * ${adtya-xyz.packages.${system}.default}/share/web
|
root * ${adtya-xyz.packages.${system}.default}/share/web
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
BIN
secrets.nix
BIN
secrets.nix
Binary file not shown.
Loading…
Reference in a new issue