Skip to content

Commit

Permalink
Merge pull request #3158 from netravnen/patch-1
Browse files Browse the repository at this point in the history
Docs: [Configuration] Add IPv6 Rest API example
  • Loading branch information
robertcheramy authored May 13, 2024
2 parents 37c4d8d + bfd9df9 commit 3d93ecb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,21 @@ models:

The RESTful API and Web Interface is enabled by configuring the `rest:` parameter in the config file. This parameter can optionally contain a relative URI.

```yaml
# Listen on http://[::1]:8888/
rest: "[::1]:8888"
```

```yaml
# Listen on http://127.0.0.1:8888/
rest: 127.0.0.1:8888
```

```yaml
# Listen on http://[2001:db8:0:face:b001:0:dead:beaf]:8888/oxidized/
rest: "[2001:db8:0:face:b001:0:dead:beaf]:8888"
```

```yaml
# Listen on http://10.0.0.1:8000/oxidized/
rest: 10.0.0.1:8000/oxidized
Expand Down

0 comments on commit 3d93ecb

Please sign in to comment.