mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
Document comments
This commit is contained in:
parent
aa1d8c45a4
commit
e1f3e19e25
1 changed files with 2 additions and 0 deletions
|
@ -9,9 +9,11 @@
|
||||||
Redirects can be created with a `_redirects` file with the following format:
|
Redirects can be created with a `_redirects` file with the following format:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
# Comment
|
||||||
from to [status]
|
from to [status]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* Lines starting with `#` are ignored
|
||||||
* `from` - the path to redirect from
|
* `from` - the path to redirect from
|
||||||
* `to` - the path or URL to redirect to
|
* `to` - the path or URL to redirect to
|
||||||
* `status` - status code to use when redirecting (default 301)
|
* `status` - status code to use when redirecting (default 301)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue