From d26aaa7352f9b8fd4c4f00761edef57ec6914bfa Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 22 Jun 2023 11:55:11 +0200 Subject: [PATCH] www/nginx: load module? PR: https://forum.opnsense.org/index.php?topic=34546.0 --- www/nginx/Makefile | 1 + .../src/opnsense/service/templates/OPNsense/Nginx/nginx.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 4309e8b5d..58fc63363 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= nginx PLUGIN_VERSION= 1.32.1 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= Nginx HTTP server and reverse proxy PLUGIN_DEPENDS= nginx PLUGIN_MAINTAINER= franz.fabian.94@gmail.com diff --git a/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/nginx.conf b/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/nginx.conf index fb8f66075..061e5a6e2 100644 --- a/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/nginx.conf +++ b/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/nginx.conf @@ -5,6 +5,7 @@ load_module /usr/local/libexec/nginx/ngx_mail_module.so; load_module /usr/local/libexec/nginx/ngx_http_brotli_filter_module.so; load_module /usr/local/libexec/nginx/ngx_http_brotli_static_module.so; load_module /usr/local/libexec/nginx/ngx_http_js_module.so; +load_module /usr/local/libexec/nginx/ngx_http_vhost_traffic_status_module.so {% if OPNsense.Nginx.http.headers_more_enable is defined and OPNsense.Nginx.http.headers_more_enable == '1' %} load_module /usr/local/libexec/nginx/ngx_http_headers_more_filter_module.so; {% endif %}