90DaysOfDevOps/Days/Configmgmt/ansible-scenario5/roles/nginx/templates/mysite.j2

13 lines
226 B
Plaintext
Raw Normal View History

upstream webservers {
server 192.168.169.131:8000;
server 192.168.169.132:8000;
}
server {
listen 80;
location / {
proxy_pass http://webservers;
}
}