feat(koi): teidesu-api reverse proxy

This commit is contained in:
alina 🌸 2024-07-11 16:08:47 +03:00
parent 93b67dfe60
commit 700bc3939d
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -40,6 +40,11 @@
# too lazy to migrate old logic for now, just error out
extraConfig = "return 403;";
};
# todo: nixify and open-source teidesu-api
locations."/api/".extraConfig = ''
proxy_pass http://localhost:8728/;
'';
locations."/" = {
extraConfig = ''