diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 23:00:09 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 23:00:09 (GMT) |
commit | 817533934308abf08a4eb83e3576f480c12f99bf (patch) | |
tree | 20ac9140a4bec8b34bf70a4eab0ba9d34bbc5286 /etc | |
parent | 42b94f45905d7545b93c86308403ce3a6c285faa (diff) | |
download | site-817533934308abf08a4eb83e3576f480c12f99bf.tar.gz |
site.conf: Fix regular expression
Match only "^/guidelines$", not "^/guidelines.*".
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nginx/site.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf index 4ef3ad1..05d10ef 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf | |||
@@ -61,7 +61,7 @@ server { | |||
61 | location ^~ /snapshot { | 61 | location ^~ /snapshot { |
62 | return 301 /download$request_uri; | 62 | return 301 /download$request_uri; |
63 | } | 63 | } |
64 | location ~ ^/(?:man|guidelines|extra-opts$) { | 64 | location ~ ^/(?:man.*|guidelines|extra-opts)$ { |
65 | return 301 /doc$request_uri.html; | 65 | return 301 /doc$request_uri.html; |
66 | } | 66 | } |
67 | } | 67 | } |