diff --git a/.gitignore b/.gitignore
index 2b2c3a7c8..b4b781414 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
*/*/work
*.pyc
+.idea/
+
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index a0087958b..1dc057c91 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -1,5 +1,5 @@
PLUGIN_NAME= haproxy
-PLUGIN_VERSION= 2.7
+PLUGIN_VERSION= 2.8
PLUGIN_REVISION= 2
PLUGIN_COMMENT= Reliable, high performance TCP/HTTP load balancer
PLUGIN_DEPENDS= haproxy-devel
diff --git a/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml b/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml
index a5b52262a..4ee6b1ff5 100644
--- a/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml
+++ b/security/acme-client/src/opnsense/mvc/app/models/OPNsense/AcmeClient/AcmeClient.xml
@@ -677,6 +677,7 @@
Restart OPNsense Web UI
Restart HAProxy (OPNsense plugin)
+ Restart Nginx (OPNsense plugin)
System or Plugin Command (select below)
diff --git a/security/acme-client/src/opnsense/scripts/OPNsense/AcmeClient/certhelper.php b/security/acme-client/src/opnsense/scripts/OPNsense/AcmeClient/certhelper.php
index ee2220ee8..9ab17b7be 100755
--- a/security/acme-client/src/opnsense/scripts/OPNsense/AcmeClient/certhelper.php
+++ b/security/acme-client/src/opnsense/scripts/OPNsense/AcmeClient/certhelper.php
@@ -1056,8 +1056,8 @@ function import_certificate($certObj, $modelObj)
// Write changes to config
// TODO: Legacy code, should be replaced with code from OPNsense framework
- write_config("${import_log_message} Let's Encrypt SSL certificate: ${cert_cn}");
- log_error("AcmeClient: ${import_log_message} Let's Encrypt SSL certificate: ${cert_cn}");
+ write_config("${import_log_message} Let's Encrypt X.509 certificate: ${cert_cn}");
+ log_error("AcmeClient: ${import_log_message} Let's Encrypt X.509 certificate: ${cert_cn}");
// Update (acme) certificate object (through MVC framework)
$uuid = $certObj->attributes()->uuid;
@@ -1138,6 +1138,9 @@ function run_restart_actions($certlist, $modelObj)
case 'restart_haproxy':
$response = $backend->configdRun("haproxy restart");
break;
+ case 'restart_nginx':
+ $response = $backend->configdRun("nginx restart");
+ break;
case 'configd':
// Make sure a configd command was specified.
if (empty((string)$action->configd)) {
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 849242b50..c4529bdc5 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1,5 +1,5 @@
PLUGIN_NAME= nginx
-PLUGIN_VERSION= 0.2
+PLUGIN_VERSION= 0.3
PLUGIN_COMMENT= Nginx HTTP server and reverse proxy
PLUGIN_DEPENDS= nginx
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
diff --git a/www/nginx/src/etc/nginx/views/opnsense_error_404.html b/www/nginx/src/etc/nginx/views/opnsense_error_404.html
index 54200472c..274bd281a 100644
--- a/www/nginx/src/etc/nginx/views/opnsense_error_404.html
+++ b/www/nginx/src/etc/nginx/views/opnsense_error_404.html
@@ -8,16 +8,52 @@
-Not Found
-The resource you want to access is not available.
-Please contact the webmaster if you think this is an error.
+ Not Found
+ The resource you want to access is not available.
+ Please contact the webmaster if you think this is an error.
+
+