/*网站名称:花猪网
/*原文链接:https://www.dh139.cn
stream {
log_format basic '$remote_addr [$time_local] '
'$protocol $status $bytes_sent $bytes_received '
'$session_time';
access_log /var/log/nginx/stream-access.log basic buffer=32k;
include /etc/nginx/conf.d/*.stream;
}
/*网站名称:汇站网*/
/*原文链接:https://www.huizhanii.com/?p=38720*/
upstream backend {
# hash $remote_addr consistent;
server 192.168.10.240:3306 weight=1;
server 192.168.10.251:3306 weight=1 max_fails=3 fail_timeout=30s;
}
server{
listen 3306;
proxy_pass backend;
------本页内容已结束,喜欢请分享------
感谢您的来访,获取更多精彩文章请收藏本站。
暂无评论内容