14
submitted 8 months ago by Crabhands@lemmy.ml to c/selfhost@lemmy.ml

I've got searxng running nicely, I can successfully set it as my default search (firefox) via clicking the URL bar and adding it to my search list.

However, when i actually search, it's searching "https://192.168.1.65/search" instead of "http://192.168.1.65:8887/search". Nothing changes this for the life of me. This results in firefox's 'unable to connect' screen, since the url and http vs https are wrong.

I'm hosting locally on my network server and I have no desire to open it to the outside network.

top 3 comments
sorted by: hot top controversial new old
[-] PleasantAura@lemmy.one 8 points 8 months ago

You can use nginx or traefik as a reverse proxy locally without opening ports 80 and 443 to the world and host your own local DNS service that points to your server's IP (and even use a self signed certificate to get HTTPS working).

[-] Crabhands@lemmy.ml 1 points 8 months ago

I will attempt this. Thank you!

[-] Dima@lemmy.one 3 points 8 months ago* (last edited 8 months ago)

You should be able to update the config file for SearXNG to add the port to the URL. Then just restart SearXNG; removing and re-adding the search engine to Firefox should make sure it's updated to use the correct port. In the settings.yml file, under the server: section is the setting you want to change:
base_url: http://192.168.1.65:8887/
Leave port: unchanged

this post was submitted on 02 Nov 2023
14 points (100.0% liked)

Self Hosted - Self-hosting your services.

10907 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS