Configuring Apache for Typesense Hosting on a VM
TLDR otieno_otieno asked for assistance on how to configure an Apache2 proxy server for Typesense. Jason offered some general advice, informing that Typesense listens on port 8108 by default, but could not advise on specific configuration.
Dec 12, 2022 (10 months ago)
otieno_otieno
02:05 PMI am hosting several websites on a virtual machine and as such i have various domain names that point to the same virtual machine. I am using apache2 as a proxyserver to route various requests to the correct localhost port. I however would also like to selfhost typesense and use one of these domains as a host(I hope that makes sense).
How would i go about configuring the apache config file such that the requests are either proxied to typesense or such that requests are directly sent to typesense without passing through the proxy server? Here is my current apache2 config file for the host id like to use...
Jason
03:11 PMJason
03:11 PMTypesense
Indexed 2786 threads (79% resolved)
Similar Threads
Typesense Setup with Reverse Proxy in Production
Suraj asked best practices for setting up Typesense in a production environment without exposing port 8108, and Kishore Nallan suggested using a reverse proxy behind nginx or Apache, as in the provided video.
Setting up DNS Records for Typesense Servers and SSL Configuration
michtio needed assistance in setting up DNS records for Typesense servers in AWS and configuring SSL. Jason shared steps on how to set up A Records and fetch an SSL cert for HTTPS on port 443. The user later solved his issue with Jason's help.
Changing Path for Typesense Server Configuration
Karthik wanted to change the path in Typesense server config. Jason suggested updating the nodes and using Nginx reverse proxy for the desired configuration.