Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use $http_host in nginx proxy header
$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.
- Loading branch information