Commit 0371c3e4 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: make nginx serve a nice frontpage for rebuilder-snapshot.debian.net

parent 7fc0b85f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,11 @@ http {
        listen          80;
        server_name     localhost;

        location 		/ {
	    alias		/srv/data/rebuilder-snapshot/;
	    autoindex	on;
        }

        location /rebuilder-snapshot/api {
	    rewrite     	/rebuilder-snapshot/api/(.+) /$1 break;
	    proxy_pass  	http://127.0.0.1:5001;