hub.sr.ht: add GQL API

This commit is contained in:
Drew DeVault 2022-11-02 11:57:04 +01:00
parent 62a9753d33
commit c735f50368
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ server {
include web.conf;
}
location /query {
proxy_pass http://127.0.0.1:5114;
include graphql.conf;
}
location /static {
root /usr/lib/$python/site-packages/hubsrht;
expires 30d;