[Git][qa/jenkins.debian.net][master] reproducible Debian: add nginx config for rebuilder-snapshot.debian.net

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Nov 20 09:52:23 GMT 2023



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


Commits:
7fc0b85f by Holger Levsen at 2023-11-20T10:52:09+01:00
reproducible Debian: add nginx config for rebuilder-snapshot.debian.net

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
=====================================
@@ -0,0 +1,32 @@
+user                   www-data;
+worker_processes       auto;
+error_log              /var/log/nginx/error.log;
+pid                    /run/nginx.pid;
+
+events {
+    worker_connections  1024;
+}
+
+http {
+    include             mime.types;
+    sendfile            on;
+    server_tokens       off;
+
+    server {
+        listen          80;
+        server_name     localhost;
+
+        location /rebuilder-snapshot/api {
+	    rewrite     	/rebuilder-snapshot/api/(.+) /$1 break;
+	    proxy_pass  	http://127.0.0.1:5001;
+	    include		proxy_params;
+        }   
+
+        location 		/rebuilder-snapshot/storage {
+	    alias		/srv/data/rebuilder-snapshot/storage;
+	    autoindex	on;
+        }
+
+
+    }
+}



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7fc0b85f8293482d503f54ead40db7ca4cb0e5d9
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/20231120/cd93cf46/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list