www/nginx: bump cert.pem location

This commit is contained in:
Franco Fichtner 2024-12-03 20:30:52 +01:00
parent 99ad9d9da3
commit ae922ba20c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 != '' %}