Add docker-nginx set
This commit is contained in:
parent
2a826a09bc
commit
0e55c4df23
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
|
1
sets/docker-nginx.conf
Normal file
1
sets/docker-nginx.conf
Normal file
@ -0,0 +1 @@
|
||||
* www-servers/nginx:0
|
3
use.conf.d/docker-nginx.conf
Normal file
3
use.conf.d/docker-nginx.conf
Normal file
@ -0,0 +1,3 @@
|
||||
www-servers/nginx http http-cache ipv6 pcre ssl
|
||||
www-servers/nginx NGINX_MODULES_HTTP: access auth_basic auth_pam auth_request autoindex browser charset empty_gif dav dav_ext fastcgi geo gzip limit_req limit_conn map memcached perl proxy realip referer rewrite scgi security ssi spdy split_clients upstream_ip_hash userid uwsgi
|
||||
|
Loading…
Reference in New Issue
Block a user