feat(koi): teidesu-api reverse proxy
This commit is contained in:
parent
93b67dfe60
commit
700bc3939d
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@
|
|||
extraConfig = "return 403;";
|
||||
};
|
||||
|
||||
# todo: nixify and open-source teidesu-api
|
||||
locations."/api/".extraConfig = ''
|
||||
proxy_pass http://localhost:8728/;
|
||||
'';
|
||||
|
||||
locations."/" = {
|
||||
extraConfig = ''
|
||||
try_files $uri $uri/ =404;
|
||||
|
|
Loading…
Reference in a new issue