summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-10-21 11:29:02 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-10-21 11:29:02 (GMT)
commit48ebc714878e89b5fe0483e77c5b1949983fc6bd (patch)
tree53a312d8cd3e9164428dedab0cd29b6bc7c4e5ad /etc
parentc02b476889f81bae4be8166a90d37945a778a6a5 (diff)
downloadsite-48ebc714878e89b5fe0483e77c5b1949983fc6bd.tar.gz
Let Nginx hide Mailman's "listinfo" index page
Use <https://www.nagios-plugins.org/support.html> as the mailing lists overview page.
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/nginx.conf b/etc/nginx.conf
index 4c74584..acaae1c 100644
--- a/etc/nginx.conf
+++ b/etc/nginx.conf
@@ -42,8 +42,8 @@ server {
42 location ^~ /list/icons/ { 42 location ^~ /list/icons/ {
43 alias /home/mailman/server/icons/; 43 alias /home/mailman/server/icons/;
44 } 44 }
45 location ~ ^/list/?$ { 45 location ~ ^/list(?:/listinfo)?/?$ {
46 return 301 /list/listinfo; 46 return 301 /support.html;
47 } 47 }
48 location ~ ^/(?:list/|repositories) { 48 location ~ ^/(?:list/|repositories) {
49 root /home/plugins/web/cgi-bin; 49 root /home/plugins/web/cgi-bin;