Update site for 2.0; add v2 landing page with asciinema video; docs

This commit is contained in:
Matthew Holt 2020-05-04 19:39:11 -06:00
parent 144a639efc
commit e52e32ba7d
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
14 changed files with 3775 additions and 10 deletions

View file

@ -185,7 +185,7 @@ Set the upstream Host header to the address of the upstream (by default, it will
```
reverse_proxy localhost:9000 {
header_up Host {http.reverse_proxy.upstream.hostport}
header_up Host {http.reverse_proxy.upstream.hostport}
}
```
@ -195,3 +195,11 @@ Reverse proxy to an HTTPS endpoint:
reverse_proxy https://example.com
```
Strip a path prefix then proxy:
```
route /prefix/* {
uri strip_prefix /prefix
reverse_proxy localhost:9000
}
```