hub.sr.ht: add GQL API
This commit is contained in:
parent
62a9753d33
commit
c735f50368
|
@ -22,6 +22,11 @@ server {
|
||||||
include web.conf;
|
include web.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /query {
|
||||||
|
proxy_pass http://127.0.0.1:5114;
|
||||||
|
include graphql.conf;
|
||||||
|
}
|
||||||
|
|
||||||
location /static {
|
location /static {
|
||||||
root /usr/lib/$python/site-packages/hubsrht;
|
root /usr/lib/$python/site-packages/hubsrht;
|
||||||
expires 30d;
|
expires 30d;
|
||||||
|
|
Loading…
Reference in New Issue