### WEB服务器 * apache ( module for php ) * nginx ( fastcgi to php-fpm ) * tengine ( nginx fork ) * openresty ( nginx bundle, with lua ) ### 配置虚拟服务器( 前置:静态,反向代理 ;后置:动态 ) * add apache port 8080 * add apache vhost * service httpd restart * add nginx vhost ( 服务器集群 127.0.0.1 8090) * nginx -s reload ### nginx * nginx.conf * location * rewrite * proxy_pass * proxy_cache * upstream ### openresty的能力 * [WAF](https://github.com/loveshell/ngx_lua_waf) * 限流 * 灰度发布 * web mvc framework [vanilla](https://gitee.com/idevz/vanilla)