From ae922ba20c0cd48d2a021f58d782bafbdfca1325 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 3 Dec 2024 20:30:52 +0100 Subject: [PATCH] www/nginx: bump cert.pem location --- www/nginx/Makefile | 2 +- .../src/opnsense/service/templates/OPNsense/Nginx/location.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 != '' %}