Skip to content

Commit

Permalink
Do not pass certs dir when tls disabled
Browse files Browse the repository at this point in the history
When TLS is disabled minio should not get a certs dir, otherwise it will only start with HTTPS.
  • Loading branch information
jaapio authored Feb 26, 2025
1 parent 996185d commit 04aad47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/minio.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MINIO_VOLUMES="{{ minio_server_datadirs | join(' ') }}"
{% endif %}

# Minio cli options.
MINIO_OPTS="--address {{ minio_server_addr }}:{{ minio_server_port }} --console-address {{ minio_server_addr }}:{{ minio_console_port }} --certs-dir {{ minio_cert_dir }} {{ minio_server_opts }}"
MINIO_OPTS="--address {{ minio_server_addr }}:{{ minio_server_port }} --console-address {{ minio_server_addr }}:{{ minio_console_port }} {% if minio_enable_tls %} --certs-dir {{ minio_cert_dir }} {% endif %} {{ minio_server_opts }}"

{% if minio_root_user %}
# Access Key of the server.
Expand Down

0 comments on commit 04aad47

Please sign in to comment.