diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-08 17:40:59 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-08 17:40:59 (GMT) |
commit | 9fc0edaa353639c09a79299eebb6b895a81d63a9 (patch) | |
tree | 99b9de0d7d50cf80116b04aeb2b81a5067f8e0e2 /etc/nginx | |
parent | f42e07553cacd5d0d06ade4684d76ef698aab8dd (diff) | |
download | site-9fc0edaa353639c09a79299eebb6b895a81d63a9.tar.gz |
Redirect /taxonomy/term/2
Redirect /taxonomy/term/2 to /doc/presentation.html. The old URI is
referenced e.g. here:
http://exchange.nagios.org/directory/Tutorials/Nagios-Core-Tutorials/How-to-Write-Great-Nagios-Plugins-in-Perl--2D-FOSDEM-2007/details
Diffstat (limited to 'etc/nginx')
-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 a4fd42d..90ceaea 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf | |||
@@ -65,6 +65,9 @@ server { | |||
65 | location ^~ /download/snapshot/nagios-plugins-HEAD.tar.gz { | 65 | location ^~ /download/snapshot/nagios-plugins-HEAD.tar.gz { |
66 | return 301 /download/snapshot/nagios-plugins-master.tar.gz; | 66 | return 301 /download/snapshot/nagios-plugins-master.tar.gz; |
67 | } | 67 | } |
68 | location ^~ /taxonomy/term/2 { | ||
69 | return 301 /doc/presentation.html; | ||
70 | } | ||
68 | location ~ ^/(?:man.*|guidelines|extra-opts)$ { | 71 | location ~ ^/(?:man.*|guidelines|extra-opts)$ { |
69 | return 301 /doc$request_uri.html; | 72 | return 301 /doc$request_uri.html; |
70 | } | 73 | } |