diff --git a/docs/widgets/services/gluetun.md b/docs/widgets/services/gluetun.md index 7f1f6921ca5..44775b158b1 100644 --- a/docs/widgets/services/gluetun.md +++ b/docs/widgets/services/gluetun.md @@ -11,8 +11,11 @@ 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). + ```yaml widget: type: gluetun url: http://gluetun.host.or.ip:port + key: gluetunkey # Not required if /v1/publicip/ip endpoint is configured with `auth = none` ``` diff --git a/src/widgets/gluetun/widget.js b/src/widgets/gluetun/widget.js index 013ea1cadd0..91c7d1ed51c 100644 --- a/src/widgets/gluetun/widget.js +++ b/src/widgets/gluetun/widget.js @@ -1,8 +1,8 @@ -import genericProxyHandler from "utils/proxy/handlers/generic"; +import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; const widget = { api: "{url}/v1/{endpoint}", - proxyHandler: genericProxyHandler, + proxyHandler: credentialedProxyHandler, mappings: { ip: {