diff --git a/www/nginx/Makefile b/www/nginx/Makefile index 7b5d49baf..f20b54fcb 100644 --- a/www/nginx/Makefile +++ b/www/nginx/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= nginx PLUGIN_VERSION= 1.34 -PLUGIN_REVISION= 3 +PLUGIN_REVISION= 4 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/location.conf b/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/location.conf index 0bb464d3d..80f2d3b02 100644 --- a/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/location.conf +++ b/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/location.conf @@ -208,7 +208,7 @@ location {{ location.matchtype }} {{ location.urlpattern }} { {% if upstream.tls_trusted_certificate is defined and upstream.tls_trusted_certificate != '' %} proxy_ssl_trusted_certificate /usr/local/etc/nginx/key/trust_upstream_{{ location.upstream }}.pem; {% else %} - proxy_ssl_trusted_certificate /etc/ssl/cert.pem; + proxy_ssl_trusted_certificate /usr/local/etc/ssl/cert.pem; {% endif %} proxy_ssl_verify {% if upstream.tls_verify == '1' %}on{% else %}off{% endif %}; {% if upstream.tls_verify_depth is defined and upstream.tls_verify_depth != '' %}