guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: nginx: Reverse proxy for mumi graphql endp


From: Christopher Baines
Subject: branch master updated: hydra: nginx: Reverse proxy for mumi graphql endpoint.
Date: Sun, 17 Mar 2024 06:02:09 -0400

This is an automated email from the git hooks/post-receive script.

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new e16552c  hydra: nginx: Reverse proxy for mumi graphql endpoint.
e16552c is described below

commit e16552ce47aca34dc8597787f1c3f19d7580eb9b
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sun Mar 17 10:00:50 2024 +0000

    hydra: nginx: Reverse proxy for mumi graphql endpoint.
    
    As currently NGinx is trying to read from the disk.
    
    * hydra/nginx/berlin.scm (%berlin-servers): Reverse proxy for
    /graphql.
---
 hydra/nginx/berlin.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index e2da3db..5ba15d1 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -325,7 +325,9 @@ PUBLISH-URL."
       ;; Rate limit graphql endpoint.
       (nginx-location-configuration
        (uri "/graphql")
-       (body '("limit_req zone=mumigraphqlzone burst=20 nodelay;"
+       (body '("proxy_pass http://localhost:1234;";
+
+               "limit_req zone=mumigraphqlzone burst=20 nodelay;"
                "limit_req_status 429;")))))
     (raw-content
      (append



reply via email to

[Prev in Thread] Current Thread [Next in Thread]