diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 01:00:09 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 01:00:09 +0200 |
| commit | 817533934308abf08a4eb83e3576f480c12f99bf (patch) | |
| tree | 20ac9140a4bec8b34bf70a4eab0ba9d34bbc5286 | |
| parent | 42b94f45905d7545b93c86308403ce3a6c285faa (diff) | |
| download | site-817533934308abf08a4eb83e3576f480c12f99bf.tar.gz | |
site.conf: Fix regular expression
Match only "^/guidelines$", not "^/guidelines.*".
| -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 | } |
