load balancer example

This commit is contained in:
bunkerity
2020-10-23 13:57:32 +02:00
parent 222426854e
commit 6a22f7711c
6 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / {
proxy_pass http://app$request_uri;
}