Add docker-nginx set

This commit is contained in:
hasufell 2016-02-05 13:24:05 +01:00
parent 2a826a09bc
commit 0e55c4df23
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
3 changed files with 14 additions and 0 deletions

View 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
View File

@ -0,0 +1 @@
* www-servers/nginx:0

View 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