nginxinc / ansible-role-nginx

Ansible role for installing NGINX
https://galaxy.ansible.com/nginxinc/nginx
Apache License 2.0
644 stars 348 forks source link

Is it possible to install nginx with streams without installing from source? #569

Closed pvanagtmaal closed 1 year ago

pvanagtmaal commented 1 year ago

Hi!

I'm in the process of installing NGINX through this role. We're relying on the stream module for load balancing and I see it's not in the nginx_modules_list (presumably because it's not a dynamic module).

I was wondering if this role is able to install the stream module without installing from source. If not I'll go for installing from source.

Thanks!

alessfg commented 1 year ago

You should be able to use streams with the default NGINX install! It's one of the modules that's compiled by default 😄

See the section at the bottom of this doc re Dynamic Modules for more info https://nginx.org/en/linux_packages.html