Windows10 NGINX1.2.0.2 tomcat 负载均衡配置

直接上配置代码,打开nginx.conf文件,配置好后,启动nginx
命令:start nginx
如果要停止:nginx.exe -s quit

#user nobody;
worker_processes 1;

error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;

events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $

Windows10 NGINX1.2.0.2 tomcat 负载均衡配置最先出现在Python成神之路

版权声明:
作者:cc
链接:https://www.techfm.club/p/16760.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>