Skip to content

Allow not only indexName but also full url (when working with reverse proxy) #1032

Open
@xorock

Description

@xorock

Hi.
Although the indexName value fits perfectly with the idea of meilisearch indexes it is not quite safe. The prepared URL requires opening access directly to http://ms:7700/. It is much safer to prepare the address under a server's reverse proxy that contains only the needed index.

location /movies-index {
        [...]
        proxy_pass  http://ms:7700/indexes/movies/search/;
    }

What do you think about the proposal to make the indexName value take the name of the index or the full URL. Or the second option - introduce a new value and one of the two must be required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions