server listen 80 server_name example com location proxy_pass http ip_a

1
2
3
4
5
6
7
8
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://ip_addr_here;
}
}