From ceefbfe6613c6e803b7267631de3eed61efaf509 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 09:14:58 +0200 Subject: Redirect requests for nagios-plugins-HEAD.tar.gz E.g., currently has a reference to /snapshot/nagios-plugins-HEAD.tar.gz ... diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf index 05d10ef..432c051 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf @@ -61,6 +61,9 @@ server { location ^~ /snapshot { return 301 /download$request_uri; } + location ^~ /download/snapshot/nagios-plugins-HEAD.tar.gz { + return 301 /download/snapshot/nagios-plugins-master.tar.gz; + } location ~ ^/(?:man.*|guidelines|extra-opts)$ { return 301 /doc$request_uri.html; } -- cgit v0.10-9-g596f