Added proxy
This commit is contained in:
16
compose/proxy/nginx.conf
Normal file
16
compose/proxy/nginx.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
events {}
|
||||
http{
|
||||
|
||||
upstream backend{
|
||||
server web:80;
|
||||
server web_2:80;
|
||||
server web_3:80;
|
||||
}
|
||||
|
||||
server{
|
||||
listen 80;
|
||||
location / {
|
||||
proxy_pass http://backend;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user