meilisearch
meilisearch copied to clipboard
Address in the launch resume is always http (even if https is used)
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:
- 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
- "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