diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 283a6d312..ae386bc6c 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= nginx -PLUGIN_VERSION= 1.18 +PLUGIN_VERSION= 1.19 PLUGIN_COMMENT= Nginx HTTP server and reverse proxy PLUGIN_DEPENDS= nginx PLUGIN_MAINTAINER= franz.fabian.94@gmail.com diff --git a/www/nginx/pkg-descr b/www/nginx/pkg-descr index 6855dab0c..a23083ed2 100644 --- a/www/nginx/pkg-descr +++ b/www/nginx/pkg-descr @@ -8,6 +8,10 @@ reuse, SSL offload and HTTP media streaming. Plugin Changelog ================ +1.19 + +* Display NAXSI rule ID in volt + 1.18 * Add proxy header for CloudFlare diff --git a/www/nginx/src/opnsense/mvc/app/controllers/OPNsense/Nginx/Api/SettingsController.php b/www/nginx/src/opnsense/mvc/app/controllers/OPNsense/Nginx/Api/SettingsController.php index ffaf56d35..4bec574e9 100644 --- a/www/nginx/src/opnsense/mvc/app/controllers/OPNsense/Nginx/Api/SettingsController.php +++ b/www/nginx/src/opnsense/mvc/app/controllers/OPNsense/Nginx/Api/SettingsController.php @@ -266,7 +266,7 @@ class SettingsController extends ApiMutableModelControllerBase // naxsi rules public function searchnaxsiruleAction() { - return $this->searchBase('naxsi_rule', array('description', 'ruletype', 'message')); + return $this->searchBase('naxsi_rule', array('description', 'identifier', 'ruletype', 'message')); } public function getnaxsiruleAction($uuid = null) diff --git a/www/nginx/src/opnsense/mvc/app/views/OPNsense/Nginx/index.volt b/www/nginx/src/opnsense/mvc/app/views/OPNsense/Nginx/index.volt index e95fbaf3d..b46e20485 100644 --- a/www/nginx/src/opnsense/mvc/app/views/OPNsense/Nginx/index.volt +++ b/www/nginx/src/opnsense/mvc/app/views/OPNsense/Nginx/index.volt @@ -439,6 +439,7 @@ {{ lang._('Description') }} {{ lang._('Rule Type') }} + {{ lang._('ID') }} {{ lang._('Message') }} {{ lang._('Commands') }}