#community-help

Implementing Typesense with Native Ubuntu Settings

TLDR Brendan asked about Typesense documentation and settings. Kishore Nallan provided a link and guidance on enabling cors and SSL.

Powered by Struct AI
11
5mo
Solved
Join the chat
Apr 26, 2023 (5 months ago)
Brendan
Photo of md5-17ad18279d8b37b96327d314b7b8891c
Brendan
12:23 PM
We are trying to impliment Typesense, but having trouble finding the documentation for working with native ubuntu setting
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:01 PM
Can you elaborate what you mean by native ubuntu settings?
Brendan
Photo of md5-17ad18279d8b37b96327d314b7b8891c
Brendan
01:02 PM
of course, we installed it by the DEB file, and it outlines the INI for settings, but does not detail how to impliment enable-cors etc
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:04 PM
Cors is enabled by default but you can check all parameters here: https://typesense.org/docs/0.20.0/api/server-configuration.html#using-command-line-arguments
01:04
Kishore Nallan
01:04 PM
Just define it in the ini file without the -- prefix. There is a ini file sample on the page as well
Brendan
Photo of md5-17ad18279d8b37b96327d314b7b8891c
Brendan
01:05 PM
so like this?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:06 PM
Yes please delete screenshot as it contains the creds
Brendan
Photo of md5-17ad18279d8b37b96327d314b7b8891c
Brendan
01:06 PM
that makes sense
01:06
Brendan
01:06 PM
and for the SSL, is there a guide to impliment it?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:07 PM
You can follow any guide for generating SSL keys for nginx. No different from that.
Brendan
Photo of md5-17ad18279d8b37b96327d314b7b8891c
Brendan
01:07 PM
amazing