# openresty docker镜像 **Repository Path**: tianhao26/openresty_docker_image ## Basic Information - **Project Name**: openresty docker镜像 - **Description**: 在centos8上编译的带naxsi与njs https模块的openresty,集成通过lua记录所有请求的详细日志脚本。 - **Primary Language**: Docker - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # openresty docker镜像 #### 介绍 基于openresty编译,增加https module,njs module,naxsi module。 集成记录请求的请求头、请求体、响应头、响应体内容的lua脚本。 集成naxsi 拦截sql注入与xss脚本攻击的配置文件。 #### 安装教程 1. docker build -t openresty . #### 使用说明 1. docker run -dti --name openresty openresty 2. /usr/local/openresty/nginx/nginx.conf.sample为样例配置文件,包含lua脚本与naxsi 防火墙的配置样例 3. /usr/local/openresty/nginx/naxsi_core.rules为naxsi 防火墙的所有拦截规则 4. /usr/local/openresty/nginx/naxsi.rules为启用的规则检查,在需要防火墙的请求的对应location中include。