sync configuration for stream module changes in nginx 1.20.x

This commit is contained in:
ace 2021-07-23 19:43:35 +03:00
parent cd61be4b94
commit d563c63bfd
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
nginx:
nginx.conf: |
load_module '/usr/lib64/nginx/modules/ngx_stream_module.so';
user nginx;
worker_processes {{ ansible_processor_count }};
error_log /var/log/nginx/error.log debug;

View File

@ -4,6 +4,7 @@
package:
name:
- nginx
- nginx-mod-stream
state: present
notify: start nginx
register: install_nginx_result