Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location of modules subdirectory? #264

Closed
linusthe3rd opened this issue Mar 13, 2017 · 2 comments
Closed

Location of modules subdirectory? #264

linusthe3rd opened this issue Mar 13, 2017 · 2 comments

Comments

@linusthe3rd
Copy link

Hello,

I am trying to load extra modules into my nguni configuration, but I am unable to figure out the path for the load_module rule. I have installed nginx-full with the following command:

brew install nginx-full --with-gunzip --with-sub

However, if I add a rule such as gunzip on to my config file, I get an error saying unknown directive "gunzip" in my error.log file (nginx is able to parse the config and startup fine).

After some research, it looks like I need to add a load_module rule to the main context of my config, but I am unable to determine the correct path for the modules because adding a rule such as:

load_module "modules/http_gunzip_module.so";

fails on my machine with the following result:

nginx: [emerg] dlopen() "/usr/local/Cellar/nginx-full/1.10.3/modules/http_gunzip_module.so" failed (dlopen(/usr/local/Cellar/nginx-full/1.10.3/modules/http_gunzip_module.so, 10): image not found) in

What is the correct path I am suppose to be using in order to enable the gunzip module?

Thank you!

@denji
Copy link
Owner

denji commented Mar 13, 2017

Dynamic recompilation modules #168 not ready

@denji denji closed this as completed Apr 9, 2017
@lock
Copy link

lock bot commented Apr 9, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants