summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2022-10-27 12:33:34 -0500
committerKhem Raj <raj.khem@gmail.com>2022-10-27 10:44:16 -0700
commitfe4c5cb101161286065ed8e238bb6b26bed06b4f (patch)
tree7c06f0510007423b658bc291cfcead49e41c348b /meta-webserver
parentcca9e65fae35b029f0fddbbc29ff6aa7c3b5caee (diff)
downloadmeta-openembedded-fe4c5cb101161286065ed8e238bb6b26bed06b4f.tar.gz
nginx: Add ipv6 support
Adds a PACKAGECONFIG to enable ipv6 in nginx Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index dfced3330..260f5f320 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -37,12 +37,13 @@ NGINX_USER ?= "www"
37EXTRA_OECONF = "" 37EXTRA_OECONF = ""
38DISABLE_STATIC = "" 38DISABLE_STATIC = ""
39 39
40PACKAGECONFIG ??= "ssl" 40PACKAGECONFIG ??= "ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
41 41
42PACKAGECONFIG[gunzip] = "--with-http_gunzip_module,," 42PACKAGECONFIG[gunzip] = "--with-http_gunzip_module,,"
43PACKAGECONFIG[http2] = "--with-http_v2_module,," 43PACKAGECONFIG[http2] = "--with-http_v2_module,,"
44PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl" 44PACKAGECONFIG[ssl] = "--with-http_ssl_module,,openssl"
45PACKAGECONFIG[http-auth-request] = "--with-http_auth_request_module,," 45PACKAGECONFIG[http-auth-request] = "--with-http_auth_request_module,,"
46PACKAGECONFIG[ipv6] = "--with-ipv6,,"
46 47
47do_configure () { 48do_configure () {
48 if [ "${SITEINFO_BITS}" = "64" ]; then 49 if [ "${SITEINFO_BITS}" = "64" ]; then