nginx 标签

云主机安全——nginx_lua_waf

  |   0 评论   |   117 浏览

沐风 这边需要注意的是路径写错了会报lua的错误 nginx 500 1.安装openresty  docker run -d -p 80:80 -p 443:443  –restart=always -v /data/prod/openresty/conf.d:/etc/nginx/conf.d -v /data/prod/openresty/html:/usr/share/nginx/html -v /data/prod/openresty/logs:/var/log/nginx -v /data/prod/openresty/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro –name=nginx openresty/openresty:centos 2.https证书 acme.sh –issue –dns dns_ali  -d .xuuo.com   –installcert –key-file /data/prod/openresty/conf.d/.xuuo.com....