Update gluetun.md

This commit is contained in:
shamoon 2025-01-02 21:06:02 -08:00
parent ff94c05ecb
commit a799aa284b
No known key found for this signature in database

View File

@ -11,7 +11,7 @@ Learn more about [Gluetun](https://github.com/qdm12/gluetun).
Allowed fields: `["public_ip", "region", "country"]`.
To setup authentication, follow [the official Gluetun documentation](https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication).
To setup authentication, follow [the official Gluetun documentation](https://github.com/qdm12/gluetun-wiki/blob/main/setup/advanced/control-server.md#authentication). Note that to use the api key method, you must add the route `GET /v1/publicip/ip` to the `routes` array in your Gluetun config.toml.
```yaml
widget:
@ -19,5 +19,3 @@ widget:
url: http://gluetun.host.or.ip:port
key: gluetunkey # Not required if /v1/publicip/ip endpoint is configured with `auth = none`
```
If using the `auth = apikey` method, add the route `GET /v1/publicip/ip` to the `routes` array in order for Homepage to be able to fetch stats.