简体   繁体   English

在Nginx上未找到Modsecurity modsecurity.conf推荐的源

[英]Modsecurity on Nginx modsecurity.conf-recommended Source Not Found

I want to install Modsecurity on Nginx with using this document : 我想使用此文档在Nginx上安装Modsecurity:

https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/ https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/

I installed and compiled it. 我安装并编译了它。 But when I want to try this command it fails. 但是,当我想尝试此命令时,它将失败。 Because source is not found : 由于找不到源:

wget -P /etc/nginx/modsec/ https://raw.githubusercontent.com/SpiderLabs/ModSecurity/master/modsecurity.conf-recommended

So if you try yourself to access this link, you will see 404 Not Found error on the page : 因此,如果您尝试访问此链接,则会在页面上看到404 Not Found错误:

https://raw.githubusercontent.com/SpiderLabs/ModSecurity/master/modsecurity.conf-recommended https://raw.githubusercontent.com/SpiderLabs/ModSecurity/master/modsecurity.conf-推荐

Is there any other source link to download modsecurity.conf-recommended file for Nginx? 是否有其他源链接可以下载Nginx的modsecurity.conf推荐文件?

您可以在github上的原始存储库中找到它:

https://raw.githubusercontent.com/SpiderLabs/ModSecurity/v2/master/modsecurity.conf-recommended

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM