[Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder-snapshot: make /api work
Holger Levsen (@holger)
gitlab at salsa.debian.org
Tue Nov 21 21:08:18 GMT 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
0a7cd21a by Holger Levsen at 2023-11-21T22:08:08+01:00
reproducible Debian rebuilder-snapshot: make /api work
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,17 +21,15 @@ http {
autoindex on;
}
- location /api {
- rewrite /api(.+) $1 break;
- proxy_pass http://127.0.0.1:5001;
+ location ~ /api(.*)$ {
+ proxy_pass http://127.0.0.1:5001/$1;
include proxy_params;
}
- location /rebuilder-snapshot/api {
- rewrite /rebuilder-snapshot/api(.+) $1 break;
- proxy_pass http://127.0.0.1:5001;
+ location ~ /rebuilder-snapshot/api(.*)$ {
+ proxy_pass http://127.0.0.1:5001/$1;
include proxy_params;
- }
+ }
location /rebuilder-snapshot/storage {
alias /srv/data/rebuilder-snapshot/storage;
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0a7cd21a75eaf5727af59695d0ce6d70666bd269
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0a7cd21a75eaf5727af59695d0ce6d70666bd269
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/899866f9/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list