dfoxg / kratos-admin-ui

A simple Admin-Interface for ory/kratos
MIT License
138 stars 28 forks source link

add NAMESERVER environment variable for nginx dns resolver #124

Closed knaoe closed 11 months ago

knaoe commented 11 months ago

Fixes #122

Expected behavior

The system should resolve the hostname for Kratos in the internal network, applicable not only to Docker locally but also to other container runtimes. Nginx should prioritize using /etc/resolv.conf, and default to 127.0.0.11 only if this configuration file is unavailable.

Tests

I have tested following cases: