summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx/site.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf
index eb8c5e8..9e94bf6 100644
--- a/etc/nginx/site.conf
+++ b/etc/nginx/site.conf
@@ -59,17 +59,17 @@ server {
59 location = /favicon.ico { 59 location = /favicon.ico {
60 root /home/plugins/web/site/resources; 60 root /home/plugins/web/site/resources;
61 } 61 }
62 location ^~ /snapshot { 62 location = /doc/release-notes/1-5.html {
63 return 301 /download$request_uri; 63 return 301 /news/release-1-5.html;
64 } 64 }
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 { 68 location = /taxonomy/term/2 {
69 return 301 /doc/presentation.html; 69 return 301 /doc/presentation.html;
70 } 70 }
71 location ~ ^/doc/release-notes/(.*)$ { 71 location ^~ /snapshot {
72 return 301 /news/release-$1; 72 return 301 /download$request_uri;
73 } 73 }
74 location ~ ^/(?:man.*|guidelines|extra-opts)$ { 74 location ~ ^/(?:man.*|guidelines|extra-opts)$ {
75 return 301 /doc$request_uri.html; 75 return 301 /doc$request_uri.html;