Browse Source

Move usage example above file output

pull/2/head
Luke Childs 9 years ago
parent
commit
94125141b6
  1. 12
      README.md

12
README.md

@ -10,6 +10,12 @@ npm install --global htconvert
## Usage
```shell
$ cat .htaccess | htconvert > nginxRedirects.conf
# or
$ htconvert -f .htaccess > nginxRedirects.conf
```
`.htaccess`
```apacheconf
@ -21,12 +27,6 @@ Redirect 302 /new-feature/ https://website.com/coming-soon/
Redirect 301 /admin/ https://website.com/?login=true
```
```shell
$ cat .htaccess | htconvert > nginxRedirects.conf
# or
$ htconvert -f .htaccess > nginxRedirects.conf
```
`nginxRedirects.conf`
```

Loading…
Cancel
Save