摘要: nginx 使用 一、概述 有一个域名,有一台服务器,有多个服务。 为了可以通过域名来访问 服务器上的不同服务,而不将端口 对外 暴露。 采用 nginx 来进行 转发。 二、nginx 安装 不同的操作系统上,需要安装不同的包。 这里以在 centos6.5 上安装为例。 在 "官网下载" 最新的 阅读全文
posted @ 2020-01-15 18:40 panie2015 阅读(234) 评论(0) 推荐(0) 编辑
摘要: CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙步骤。 1、关闭firewall: systemctl stop firewalld.service 停止firewall systemctl disable firewalld.service 禁止firew 阅读全文
posted @ 2020-01-15 09:34 panie2015 阅读(163) 评论(0) 推荐(0) 编辑