meilisearch icon indicating copy to clipboard operation
meilisearch copied to clipboard

Address in the launch resume is always http (even if https is used)

Open svenbw opened this issue 2 years ago • 0 comments

Describe the bug When starting you get an resume on how Meilisearch is started. The contains always contains http even if the https certificates are configured AND the webservers listens to https.

To Reproduce Steps to reproduce the behavior:

  1. Start with: meilisearch --http-addr=127.0.0.1:7700 --ssl-cert-path ./127.0.0.1.pem --ssl-key-path ./127.0.0.1-key.pem
  2. "Server listening on: "http://127.0.0.1:7700"

Expected behavior "Server listening on" should use https

Meilisearch version: 0.28.1

Additional context The print_launch_resume method contains a static string for the protocol. https://github.com/meilisearch/meilisearch/blob/09ec8e9fcad95d9f742106afa24fbdf2866f76f1/meilisearch-http/src/main.rs#L119

svenbw avatar Aug 09 '22 08:08 svenbw