feat(koi): teidesu-api reverse proxy
This commit is contained in:
parent
93b67dfe60
commit
700bc3939d
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@
|
||||||
# too lazy to migrate old logic for now, just error out
|
# too lazy to migrate old logic for now, just error out
|
||||||
extraConfig = "return 403;";
|
extraConfig = "return 403;";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# todo: nixify and open-source teidesu-api
|
||||||
|
locations."/api/".extraConfig = ''
|
||||||
|
proxy_pass http://localhost:8728/;
|
||||||
|
'';
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue