Closed ghukill closed 4 years ago
Further more, to avoid external lookups, might be prudent to set loopbacks for any configured hostnames so any internal requests in /etc/hosts
so combine.example.com
are redirected to localhost
.
The alternative would require some changes to Django / Livy / Spark URLs, and would hinder the ability to connect to external Spark clusters (though not comon, would be nice to keep that possibility).
Related #334
For example, if
combine.example.com
is the hostname for IPx.x.x.x
, andx.x.x.x
is set forAPP_HOST
inlocalsettings.py
, then those URLs will showx.x.x.x
on GUI.Is this a limitation? or should the URLs attempt to parse the requested hostname from the
request
object?