Update instruction of 'Rewriting the Host Header'

Update instruction of 'Rewriting the Host Header' in README.md
This commit is contained in:
xufanglu 2019-03-02 21:33:23 +08:00 committed by GitHub
parent cbf9c731a0
commit 178d134f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ custom_domains = test.yourdomain.com
host_header_rewrite = dev.yourdomain.com
```
If `host_header_rewrite` is specified, the host header will be rewritten to match the hostname portion of the forwarding address.
The `Host` request header will be rewritten to `Host: dev.yourdomain.com` before it reach your local http server.
### Set Headers In HTTP Request