nginx安装
nginx for WindowsNginx+Tomcat搭建高性能负载均衡集群 - 大鹏
Rocketchat的nginx配置
nginx启动失败
service nginx start 启动nginx服务
systemctl status nginx -l 查看启动nginx失败的详细错误
nginx配置多端口监听
apache配置多个端口监听(多ip,多域名)
httpd.conf修改内容
# Virtual hosts
Listen 8090
Listen 8091
httpd-vhosts.conf修改内容
路径:Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf
NameVirtualHost *:8090
NameVirtualHost *:8091
<VirtualHost *:8090>
ServerName *
DocumentRoot "/Applications/MAMP/htdocs/liuyajun/"
<Directory "/Applications/MAMP/htdocs/liuyajun/">
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
网站直接访问app应用
将应用部署到Tomcat根目录的方法 - rongjih的日志 - 网易博客
MAMP配置文件位置
mamp/conf/apache/httpd.conf
windwos 中 conf目录可能没有extra目录,进入bin目录的apache修改vhost即可
网友评论