diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 09:14:58 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 09:14:58 +0200 |
| commit | ceefbfe6613c6e803b7267631de3eed61efaf509 (patch) | |
| tree | e094e84f0d490351c421c02f93a5d81901a24f65 | |
| parent | 817533934308abf08a4eb83e3576f480c12f99bf (diff) | |
| download | site-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.conf | 3 |
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 | } |
