Merge pull request #1107 from likev/patch-1

Update instruction of 'Rewriting the Host Header'
This commit is contained in:
fatedier 2019-03-03 21:57:24 +08:00 committed by GitHub
commit 03e4318d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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