Add docker-nginx set
This commit is contained in:
10
hooks/ebuild_install_post/nginx.bash
Normal file
10
hooks/ebuild_install_post/nginx.bash
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ ${CATEGORY}/${PN} == www-servers/nginx ]] ; then
|
||||
if use nginx_modules_http_security ; then
|
||||
insinto /etc/nginx/modsecurity
|
||||
newins "${HTTP_SECURITY_MODULE_WD}"/modsecurity.conf-recommended \
|
||||
modsecurity.conf
|
||||
doins "${HTTP_SECURITY_MODULE_WD}"/unicode.mapping
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user