this post was submitted on 17 Jan 2025
9 points (90.9% liked)

homelab

6773 readers
44 users here now

founded 4 years ago
MODERATORS
 

I recently setup SearXNG to take the place of Whoogle (since Google broke it by disabling JS free query results). I am following the same steps I've always done in adding a new default search engine.

Navigate to the address bar, right click "Add SearXNG" then go into settings and make it my default. After doing this, rather than using the local IP the instance is running at, Firefox uses https://localhost/search for some reason. I don't see a way to edit this in the settings section of Firefox. Anyone else experienced this?

Update: After updating the .env file with my IP address and bring docker down/ up, all is working as expected (able to use SearXNG via Caddy using the https:// address)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 7 hours ago* (last edited 6 hours ago) (1 children)

Could you give more information?

Is it running in the same machine you want to search from?

Is it running in a container (and which network mode)?

Have you changed the configuration of SearXNG? I think the default URL was localhost in some settings (like the hostname or base_url variables in both settings.yml and docker-compose.yml).

Also, it's been a while since I made SearXNG my default search engine, I used to use an extension since the Firefox way is less customizable.

[โ€“] root 2 points 6 hours ago

Bingo! I missed a spot in the hidden .env file. After that I'm able to hit it and Caddy is able to generate the cert for me (I am using docker).

Thanks again!