typos
This commit is contained in:
parent
ead4695de0
commit
96bd9a1bf9
|
@ -29,7 +29,6 @@ That's where we begin to mention load-balancing. And when we introduce som logic
|
||||||
|
|
||||||
### Varnish
|
### Varnish
|
||||||
|
|
||||||
|
|
||||||
Varnish is going to store in cache the result of some requests. Later on, a client who makes the same request might get a result from the cache if it is preset andfresh enough.
|
Varnish is going to store in cache the result of some requests. Later on, a client who makes the same request might get a result from the cache if it is preset andfresh enough.
|
||||||
|
|
||||||
With its default configuration, Varnish has a lot of good practice already in place and jst a few adjustments might be necessary to work with most of the situations.
|
With its default configuration, Varnish has a lot of good practice already in place and jst a few adjustments might be necessary to work with most of the situations.
|
||||||
|
@ -111,6 +110,7 @@ sub vcl_recv {
|
||||||
[…]
|
[…]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The response is extremely fast, which allow for frequent checks by HAProxy.
|
The response is extremely fast, which allow for frequent checks by HAProxy.
|
||||||
|
|
||||||
In the frontend section of HAProxy, there is an ACL that tells if Varnish is knownto be available.
|
In the frontend section of HAProxy, there is an ACL that tells if Varnish is knownto be available.
|
||||||
|
@ -137,7 +137,7 @@ backend default_backend
|
||||||
|
|
||||||
Nothing forces us to use VArnish for every request and all web-sites of apps.
|
Nothing forces us to use VArnish for every request and all web-sites of apps.
|
||||||
|
|
||||||
We ca either use an ACL :
|
We can either use an ACL :
|
||||||
|
|
||||||
```
|
```
|
||||||
frontend external
|
frontend external
|
||||||
|
@ -331,6 +331,7 @@ frontend internal
|
||||||
```
|
```
|
||||||
|
|
||||||
In the final backend, we add a header to indicate if HAProxy used an encrypted connection or not.
|
In the final backend, we add a header to indicate if HAProxy used an encrypted connection or not.
|
||||||
|
|
||||||
```
|
```
|
||||||
backend example_com
|
backend example_com
|
||||||
[…]
|
[…]
|
||||||
|
|
Loading…
Reference in a new issue