美文网首页我爱编程
nginx tomcat apache mamp

nginx tomcat apache mamp

作者: 肖雨San | 来源:发表于2016-09-28 01:27 被阅读670次

nginx安装

nginx for WindowsNginx+Tomcat搭建高性能负载均衡集群 - 大鹏

全新安装Mac OSX 开发者环境 同时使用homebrew搭建 PHP,Nginx ,MySQL,Redis,Memcache ... ... (LNMP开发环境) - Fish - SegmentFault

Rocketchat的nginx配置

Rocket.Chat Docs

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即可

相关文章

网友评论

    本文标题:nginx tomcat apache mamp

    本文链接:https://www.haomeiwen.com/subject/ofkzsttx.html