Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

https support for SearXNG?

Featured Replies

Hello (unraid noob here),

I just installed SearXNG, and it is working fine. I was trying to figure out how to get it to work with https as well. I did some research on the SeraXNG Docker image, and the documentation states that this is controlled via a file name ".env" in the root of the container. I do not see this file in the Unraid SearXNG Docker image, and manually creating it does not appear to help. I am sure that I am overlooking something here and would appreciate a push in the right direction.

 

Jon

Solved by Admiralham

Good day Jon,

 

I'm sorry but I don't know the answer (yet) to your question but I was hoping you could enlighten me on how you installed SearXNG on Unraid?  I have looked and can't find any documentation on how to do so.  I would appreciate any information so that I may assist you in your question.


Regards,

Chris

  • Author

Hi Chris,

I installed SearXNG via the Community Apps plugin on my Unraid console. I kept all default settings.

Well... I feel stupid.  I didn't even think to look at the actual Community Apps.  I was under the impression that it was a custom installation of a Docker container.

 

From what I'm seeing through research is that enabling HTTPS may have something to do with configuring proxies.  I am continuing to look and will post again if I find something of value.

 

Regards,

Chris

  • Author

Thanks Chris, I really appreciate it! BTW... I am an Unraid newby so I am probably overlooking something.

Blind leading the blind my friend.  I haven't been using Unraid for very long myself.  I think this is more of a SearXNG setting than Unraid though.  We'll get it figured out!.  :)

 

Regards,

Chris

irishjd,

 

Just an update, I have not yet found any information on this.  I'm wondering if it's even possible in unRAID?

 

Regards,

Chris

  • Author

That's entirely possible. I am thinking that I will need to setup some sort of proxy to get this to work.

I installed SearXNG via the Community Apps, then built a custom config file for Swag.  I can now access SearXNG via HTTPS using Swag.

 

  • Solution

Here is my conf file for Swag.  Hope it helps:

 

## Version 2021/05/21
# Ensure your DNS has a CNAME set for searxng and that searxng container is not using a base URL.

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name my_subdomain.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {

        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app searxng;
        set $upstream_port 8080;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

    }


}

  • 1 month later...
On 7/13/2022 at 10:15 PM, Admiralham said:

Here is my conf file for Swag.  Hope it helps:

 

## Version 2021/05/21
# Ensure your DNS has a CNAME set for searxng and that searxng container is not using a base URL.

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name my_subdomain.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    location / {

        include /config/nginx/proxy.conf;
        include /config/nginx/resolver.conf;
        set $upstream_app searxng;
        set $upstream_port 8080;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

    }


}


I did exactly this and still get a "502 Bad Gateway" error when I try to go to the page from the internet

 

  • 1 month later...

What is SearXNG?

 

  • Author

It is your own search engine

you can try setting up Traefik as your reverse proxy. a lot of initial setup, but afterwards pretty much any docker container works no problem. i'm running searxng through it on https.

 

https://docs.ibracorp.io/traefik/

  • Author

@evertinker thanks for the suggestion, I'll give it a shot!

  • 1 month later...

@irishjd did you ever het this working? I'm in the same boat. I have Swag  pointing at it, but I get the same "502 Bad Gateway" as @elvismercado when I try to access it via https. I can get it to work with http, but not with https. There has to be something in the SearXNG settings that we're missing.

  • Author

@Mattaton, yes, I did get this working. I’ll do a write-up of my solution tomorrow and post it here.

Thanks! Much appreciated!

  • Author

@Mattaton instead of me trying and failing to provide you with decent instructions ;-) Take a look at this video:

 

This is what I used to setup up my SearXNG https environment. If you happen to use CloudFlare as well, take a look at this too:

 

This makes it super simple to enable https on any self-hosted app/site.

So, did you use swag? I have reverse proxy set up for several dockers already. For instance, it works fine for NextCloud, but I used the included NextCloud conf file in nginx (plus I had SpaceInvaderOne's video guide). There isn't an included conf file for SearXNG, so I've tried to build one based on NextCloud, but no matter what, the docker list always says the external port for SearXNG is 8080, whereas it's 443 for NextCloud.

 

I'm most definitely a novice when it comes to this stuff, so extrapolating from other things doesn't always go well. 😄 

 

If you used Swag, can I see what your nginx conf file looks like?

 

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.