Commit c3e95181 authored by Miek Gieben's avatar Miek Gieben

Update docs

parent 097b4f1b
...@@ -54,13 +54,13 @@ proxy example.org localhost:9005 ...@@ -54,13 +54,13 @@ proxy example.org localhost:9005
Load-balance all requests between three backends (using random policy): Load-balance all requests between three backends (using random policy):
~~~ ~~~
proxy / web1.local:80 web2.local:90 web3.local:100 proxy . web1.local:53 web2.local:1053 web3.local
~~~ ~~~
Same as above, but round-robin style: Same as above, but round-robin style:
~~~ ~~~
proxy / web1.local:80 web2.local:90 web3.local:100 { proxy . web1.local:53 web2.local:1053 web3.local {
policy round_robin policy round_robin
} }
~~~ ~~~
...@@ -74,10 +74,10 @@ proxy / web1.local:80 web2.local:90 web3.local:100 { ...@@ -74,10 +74,10 @@ proxy / web1.local:80 web2.local:90 web3.local:100 {
} }
~~~ ~~~
Proxy everything except requests to /static or /robots.txt: Proxy everything except requests to miek.nl or example.org
~~~ ~~~
proxy / backend:1234 { proxy . backend:1234 {
except /static /robots.txt except miek.nl example.org
} }
~~~ ~~~
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment