man.sr.ht: add GraphQL routes
This commit is contained in:
parent
a195e2fc77
commit
c1ca10d3e6
|
@ -19,6 +19,11 @@ server {
|
|||
include web.conf;
|
||||
}
|
||||
|
||||
location /query {
|
||||
proxy_pass http://127.0.0.1:5101;
|
||||
include graphql.conf;
|
||||
}
|
||||
|
||||
location /static {
|
||||
root /usr/lib/$python/site-packages/mansrht;
|
||||
expires 30d;
|
||||
|
|
Loading…
Reference in New Issue