Friday, September 18, 2015

Install additional nginx modules with MacPorts

This example install headers more module.
Download it from Github

unzip files to /opt/local/src/headers-more-nginx-module-0.25

Go to command line and execute:

sudo port edit nginx

Now in the editor add the following lines (replace version if necessary):


variant header description {Add header} {
    configure.args-append --add-module=/opt/local/src/headers-more-nginx-module-0.25
}

sudo port install -v nginx +header

No comments:

Post a Comment