nginx-1.14.0配置文件 配置域名转发到端口

Nginx nginx-1.14.0配置文件 实现 监听80端口 xxx.xxx1.com域名(可以是http 也可以是https)转发到http://127.0.0.1:20141/;
完整的nginx.conf
user root;
#user nobody;
worker_processes 1;

#error_log /data/wwwlogs/error_nginx.log crit;
error_log /usr/local/nginx/mylog/error_nginx.log crit;#设置错误日志路径

pid /var/run/nginx.pid;
worker_rlimit_nofile 51200;

events {
worker_connections 51200;
}

http {
include mime.types;
def

nginx-1.14.0配置文件 配置域名转发到端口最先出现在Python成神之路

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

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