diff --git a/www-servers/nginx/files/nginx.conf-r3 b/www-servers/nginx/files/nginx.conf-r3 index aedaad4f64efd..f851bbf8934eb 100644 --- a/www-servers/nginx/files/nginx.conf-r3 +++ b/www-servers/nginx/files/nginx.conf-r3 @@ -67,4 +67,6 @@ http { # root /var/www/localhost/htdocs; #} + + include /etc/nginx/*_vhost.conf; } diff --git a/www-servers/nginx/nginx-1.26.2-r7.ebuild b/www-servers/nginx/nginx-1.26.2-r8.ebuild similarity index 99% rename from www-servers/nginx/nginx-1.26.2-r7.ebuild rename to www-servers/nginx/nginx-1.26.2-r8.ebuild index cfc77b65badc4..043eba9050b0a 100644 --- a/www-servers/nginx/nginx-1.26.2-r7.ebuild +++ b/www-servers/nginx/nginx-1.26.2-r8.ebuild @@ -808,6 +808,12 @@ src_install() { if use nginx_modules_http_lua; then docinto ${HTTP_LUA_MODULE_P} dodoc "${HTTP_LUA_MODULE_WD}"/README.markdown + insinto /etc/nginx + newins - 00-config.lua_vhost.conf <<-EOF + lua_package_path "/etc/nginx/?.lua;;"; + EOF + insinto /etc/nginx/resty + touch "${ED}"/etc/nginx/resty/core.lua fi if use nginx_modules_http_auth_pam; then