Commit 7c3c91b1 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian rebuilder-snapshot: make /api/ work but not yet /api

parent 9f99f727
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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;
        }