A question for those who created their own server....
# community-help
a
A question for those who created their own server. I was trying to setup my own server in AWS and then use the api calls. I installed typesense, got it running, and called from my local (using the IP and port) but no response. Then I installed nginx, set it up for reverse proxy and port 8108 but no response when using curl from local. Here is the curl command I am using: http://<<Server IP>>:8108/health Also checked the inbound rules for server. They are fine, and nginx default page loads. Do I need to install something else? One other thing, the docs said
By default, Typesense will start on port 8108, and the installation will generate a random API key, which you can view/change from the configuration file at 
/etc/typesense/typesense-server.ini
The file is not created, nor the API key is generated. Am I doing something wrong? When I installed it on local the curl call for health check works fine.
k
Typesense uses a production-ready evented HTTP library so you don't have to use nginx.
The file is not created, nor the API key is generated.
This is true only for DEB and RPM installations. How did you install Typesense? Please post your typesense config INI file so I can see if there is something missing.
a
How did you install Typesense?
Linux binary. (tar.gx file acc to documentation). The ini file is not generated either. There is nothing in /etc as the typesense folder is not created (does it require root permissions, I did not use that)
k
Use a DEB or RPM, only those generates those files. The tar gz is not an installer so contains only the binary.
a
ok. After that I can call typesense api directly right? (without having to install nginx and substituting IP for localhost)
k
Yes. The INI file will be created. If you want you can change the port to default HTTPS port of 443.
a
It works now. Thanks a lot for your help
k
yw