当前位置 主页 > 服务器问题 > nginx问题汇总 >

    Nginx问题小集

    栏目:nginx问题汇总 时间:2019-12-11 10:00

      1.请问Nginx是怎么添加模块的?
      在编译过程添加模块
      Firstly, you have to select the Nginx module during the compile. Runtime selection of module is not being supported by the Nginx server.
      2.请问什么是 C10K 问题?
      C10K 问题是指无法同时处理大量客户端(10,000)的网络套接字。
      3.在Nginx里,如何使用未定义的服务器名称来阻止处理请的?
      将请求删去的服务器定义为:
      Server {listen 80;server_name “ “ ;return 444;
      }
      4.Nginx的负载均衡战略有哪几种?
      5.Nginx和Apache的区别?
      Nginx是事件驱动,Apache是过程驱动。
      例:Nginx is best known for its speed and Apache is best known for its power.
         Apache provides lots of functionality as compared to Nginx.