Listen81】的更多相关文章

Nut-Cracking Chimps Demonstrate Cultural Differences One family generally dines on Chinese takeout while their neighbors eat home cooked meatloaf. You say potato, I say Potahto. And humans aren't the only primate species with cultural differences. Ev…
首先使用brew安装nginx brew install nginx 安装完毕后,如果我们要使用nginx监听本地的80端口,需要改掉mac自带的apache占用的80端口 sudo vim /etc/apache2/httpd.conf 将Listen80改为Listen81,然后重启apache sudo apachectl restart 然后修改nginx配置文件 server { listen 80; server_name localhost; location / { proxy_…
1.apache三种工作模式 1)prefork工作模式 一个进程处理一个用户请求 稳定但是不适合高并发的生产环境 2)worker工作模式 一个进程生成多个线程 合适高并发环境但是需要考虑到线程的安全问题 3)event工作模式 支持keepalived长连接 但是不支持httpds 2.apache基本信息 主配置文件:/etc/httpd/conf/http.conf 默认监听的端口:80 https:443 listen:80 directoryindex:index.html docu…