Configuring CORS Settings for Whitelisting Domains
TLDR Fulvio needed help to configure CORS settings to whitelist specific domains. Jason clarified it's not currently supported, but suggested starting the docker container with --enable-cors
and reading the documentation.
1
1
1
Jul 26, 2021 (30 months ago)
Fulvio
05:25 PMJason
05:34 PM*
are whitelisted at the moment. Are you looking to whitelist only certain domains?Fulvio
05:37 PMFulvio
05:38 PMFulvio
05:38 PMJason
06:53 PM--enable-cors
command line arg when starting the docker container?Jason
06:54 PMWe don't support narrowing down the list at the moment. Could you open a Github issue about this?
1
Fulvio
09:40 PM1
Fulvio
09:48 PMFulvio
09:48 PMFulvio
09:48 PMJason
09:59 PMJason
09:59 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Configuring CORS in Typesense Using Docker
Fulvio asked how to configure CORS. Jason recommended adding a `--enable-cors` flag, even when using Docker.
Setting Up and Accessing Remote Typesense Instance.
Kyle had trouble accessing a Typesense instance remotely. Jason helped them realize the solution lies in server configuration, opened ports, and necessary SSL certificates for individual sub-domains along with enabling CORS.
Docker Compose Issue with Connecting Server and Typesense
Priyank couldn't connect their server with typesense through Docker compose. After troubleshooting with Kishore Nallan and WL, user discovered that they needed to specify the IP address of the typesense service in their client configuration.
Resolving CORS-related Issues with Typesense Server
Edson experienced typesense-related CORS issues, which Jason solved by advising to add the `--enable-cors` flag during the startup of the typesense server. The difference in how typesense instantsearch adapter works was also clarified.
Configuring Docker-hosted Typesense with Let's Encrypt SSL Certificates
Ian asked for help with setting up SSL certificates in a Docker-hosted Typesense. Jason provided suggestions but the issue remains unresolved due to port conflict.