[Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder-snapshot: make /api/ work but not yet /api

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Nov 21 20:53:37 GMT 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
7c3c91b1 by Holger Levsen at 2023-11-21T21:53:11+01:00
reproducible Debian rebuilder-snapshot: make /api/ work but not yet /api

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- hosts/osuosl5-amd64/etc/nginx/nginx.conf


Changes:

=====================================
hosts/osuosl5-amd64/etc/nginx/nginx.conf
=====================================
@@ -21,8 +21,14 @@ http {
 	    autoindex	on;
         }
 
+        location /api {
+	    rewrite     	/api(.+) $1 break;
+	    proxy_pass  	http://127.0.0.1:5001;
+	    include		proxy_params;
+        }
+
         location /rebuilder-snapshot/api {
-	    rewrite     	/rebuilder-snapshot/api/(.+) /$1 break;
+	    rewrite     	/rebuilder-snapshot/api(.+) $1 break;
 	    proxy_pass  	http://127.0.0.1:5001;
 	    include		proxy_params;
         }   



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7c3c91b1a3535d10c70a5709a157835d7b8ac0c1

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7c3c91b1a3535d10c70a5709a157835d7b8ac0c1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20231121/9db5c18e/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list