[root@test-node5 conf.d]
configure arguments: --prefix=/usr/local/nginx --with-http_ssl_module --with-stream --with-stream_ssl_module
[root@test-node5 conf.d]
worker_processes 1;
events {
worker_connections 1024;
}
include conf.d/*.conf;
http {
include mime.types;
default_type application/octet-stream;
include vhost/*.conf;
sendfile on;
keepalive_timeout 65;
}
[root@test-node5 conf]
stream {
upstream mysql {
server 192.168.0.12:3306 max_fails=3 fail_timeout=30s;
}
server {
listen 8085;
proxy_connect_timeout 2s;
proxy_timeout 900s;
proxy_pass mysql;
}
}
[root@test-node5 conf]
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@test-node5 conf]
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?