summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-30 07:14:58 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-30 07:14:58 (GMT)
commitceefbfe6613c6e803b7267631de3eed61efaf509 (patch)
treee094e84f0d490351c421c02f93a5d81901a24f65
parent817533934308abf08a4eb83e3576f480c12f99bf (diff)
downloadsite-ceefbfe6613c6e803b7267631de3eed61efaf509.tar.gz
Redirect requests for nagios-plugins-HEAD.tar.gz
E.g., <http://www.nagios.org/download/plugins> currently has a reference to /snapshot/nagios-plugins-HEAD.tar.gz ...
-rw-r--r--etc/nginx/site.conf3
1 files changed, 3 insertions, 0 deletions
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 {
61 location ^~ /snapshot { 61 location ^~ /snapshot {
62 return 301 /download$request_uri; 62 return 301 /download$request_uri;
63 } 63 }
64 location ^~ /download/snapshot/nagios-plugins-HEAD.tar.gz {
65 return 301 /download/snapshot/nagios-plugins-master.tar.gz;
66 }
64 location ~ ^/(?:man.*|guidelines|extra-opts)$ { 67 location ~ ^/(?:man.*|guidelines|extra-opts)$ {
65 return 301 /doc$request_uri.html; 68 return 301 /doc$request_uri.html;
66 } 69 }