diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-21 11:29:02 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-21 11:29:02 (GMT) |
commit | 48ebc714878e89b5fe0483e77c5b1949983fc6bd (patch) | |
tree | 53a312d8cd3e9164428dedab0cd29b6bc7c4e5ad | |
parent | c02b476889f81bae4be8166a90d37945a778a6a5 (diff) | |
download | site-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.
-rw-r--r-- | etc/nginx.conf | 4 |
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; |