You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
540 B
25 lines
540 B
#upstream stream_backend {
|
|
# server backend1.example.com:12345 weight=5;
|
|
# server backend2.example.com:12345 max_fails=2 fail_timeout=30s;
|
|
# server backend3.example.com:12345 max_conns=3;
|
|
#}
|
|
#
|
|
#upstream dns_servers {
|
|
# least_conn;
|
|
# server 192.168.136.130:53;
|
|
# server 192.168.136.131:53;
|
|
# server 192.168.136.132:53;
|
|
#}
|
|
#
|
|
#server {
|
|
# listen 12345;
|
|
# proxy_pass stream_backend;
|
|
# proxy_timeout 3s;
|
|
# proxy_connect_timeout 1s;
|
|
#}
|
|
#
|
|
#server {
|
|
# listen 53 udp;
|
|
# proxy_pass dns_servers;
|
|
#}
|