摘要:
Nginx服务器利⽤ngx_http_rewrite_module 将用户请求的URI基于PCRE regex所描述的模式进行检查,而后完成重定向替换,模块解析和处理rewrite请求,此功能依靠 PCRE(perl compatible regularexpression), 因此编译之前要安装P 阅读全文
摘要:
ngx_http_ssl_module模块: ngx_http_ssl_module模块: ssl on | off; 为指定虚拟机启用HTTPS protocol,已淘汰,建议用listen指令代替 ssl_certificate file; 当前虚拟主机使用PEM格式的证书文件。后缀为pem或c 阅读全文
摘要:
ngx_http_auth_basic_module模块:实现基于用户的访问控制,使用basic机制进行用户认证, auth_basic string | off; auth_basic_user_file file; location /admin { auth_basic "Admin Area 阅读全文