From c735f503682a6334b6a67ab3027a6c04afa89ae8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 2 Nov 2022 11:57:04 +0100 Subject: [PATCH] hub.sr.ht: add GQL API --- hub.sr.ht.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hub.sr.ht.conf b/hub.sr.ht.conf index 6e12302..59778ca 100644 --- a/hub.sr.ht.conf +++ b/hub.sr.ht.conf @@ -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;