[Git][qa/jenkins.debian.net][master] i386.reproduce.debian.net: no need to run on a public port...

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Jan 2 15:44:46 GMT 2025



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


Commits:
c1c34d03 by Holger Levsen at 2025-01-02T16:44:37+01:00
i386.reproduce.debian.net: no need to run on a public port...

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

- - - - -


3 changed files:

- hosts/infom07-i386/etc/nginx/nginx.conf
- hosts/infom07-i386/opt/etc/rebuilderd-worker.conf
- hosts/infom07-i386/opt/etc/rebuilderd.conf


Changes:

=====================================
hosts/infom07-i386/etc/nginx/nginx.conf
=====================================
@@ -42,9 +42,14 @@ http {
             try_files $uri $uri/ =404;
         }
 
-
         location /api/ {
-            proxy_pass http://i386.reproduce.debian.net:8484;
+            proxy_set_header    X-Real-IP          $remote_addr;
+            proxy_pass http://127.0.0.1:8484;
+        }
+        location = /api/v0/build/report {
+            client_max_body_size 200M;
+            proxy_set_header    X-Real-IP          $remote_addr;
+            proxy_pass http://127.0.0.1:8484;
         }
 
 	location /stats/ {


=====================================
hosts/infom07-i386/opt/etc/rebuilderd-worker.conf
=====================================
@@ -1,5 +1,5 @@
 ## The rebuilderd to connect to
-endpoint = "http://i386.reproduce.debian.net:8484"
+endpoint = "https://i386.reproduce.debian.net"
 ## The server would either allowlist our key or require a signup secret
 #signup_secret = "your_signup_key"
 


=====================================
hosts/infom07-i386/opt/etc/rebuilderd.conf
=====================================
@@ -1,7 +1,7 @@
 ## Configuration for http daemon
 [http]
 ## The address to bind to. This is 127.0.0.1:8484 by default.
-bind_addr = "i386.reproduce.debian.net:8484"
+bind_addr = "127.0.0.1:8484"
 ## If you use a reverse proxy, use this header instead of the actual connecting ip.
 ## Make sure the reverse proxy has filters in place to prevent spoofing issues.
 #real_ip_header = "X-Real-IP"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/c1c34d03a75bfaaf72a82d12e3ca69528dcc1570
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/20250102/0f277f46/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list