Adding the optional option http-status to README.md
This commit is contained in:
parent
0d27b892c9
commit
ef05953c24
1 changed files with 8 additions and 0 deletions
|
|
@ -49,6 +49,14 @@ The star `*` at the end tells us that the remaining URL path is also forwarded t
|
|||
|
||||
> If you use Cloudflare or any DNS which supports [CNAME Flattening](https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/), you still can use CNAME records pointing to `r.forwarddomain.net`, it's much recommended to use CNAME records rather than A/AAAA records.
|
||||
|
||||
You can choose the type of redirection you want to use by declaring the `http-status` value:
|
||||
|
||||
```
|
||||
www.old.com IN CNAME r.forwarddomain.net
|
||||
_.www.old.com IN TXT http-status=302;forward-domain=https://old.com/*
|
||||
```
|
||||
|
||||
> The default value for "http-status" is `301` if not specified.
|
||||
|
||||
## FAQ
|
||||
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue