Skip to content

Conversation

@tinyhare
Copy link

  1. This also works for CNAME
  2. I think host_header = request.headers.get('Host',None) is enouth,because request.headers is a CaseInsensitiveDict
  3. I found that "server_hostname" must be set to make it work
  4. Only ”https“ url need to do this

1.  This also works for CNAME
2.  I think host_header = request.headers.get('Host',None) is enouth,because  request.headers is a CaseInsensitiveDict
3.  I found that "server_hostname" must be set to make it work
4.  Only ”https“ url need to do this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant