mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 18:14:10 +00:00

$host is the hostname, $http_host is `hostname[:port]`, which is what's needed here $host works fine in the example because it uses the default port 80, but if it's on a different port it will differ from the http Host header, resulting in cross-origin check errors.