SearXNG

A free metasearch engine that aggregates results without tracking or profiling users.

Accessing SearXNG

  • Otevřete prohlížeč a navštivte: https://<SERVER_IP>/searxng
  • Očekává se, že se v prohlížeči zobrazí varování týkající se SSL (certifikát s vlastním podpisem)
  • Authentication is required (Basic Auth popup)
  • Authentication method: HTTP Basic Auth
  • Credentials are stored securely in: /root/.cloudzy-creds

Důležité cesty

  • Instalační adresář: /root/searxng
  • Soubor Docker Compose: /root/searxng/docker-compose.yml
  • Env file: /root/searxng/.env
  • Core configuration: /root/searxng/core-config/
  • Nginx vhost: /etc/nginx/sites-available/searxng
  • Auth file: /etc/nginx/auth/searxng.htpasswd
  • Certifikáty TLS: /etc/nginx/ssl/

Povolení SSL s doménou

1. Nasměrujte svou doménu na IP adresu serveru.

2. Upravte konfiguraci Nginx a nahraďte oba server_name <IP>; s vaší doménou (<your-domain>) pro bloky HTTP (port 80) i HTTPS (port 443):

vim /etc/nginx/sites-available/searxng

3. Nainstalujte Certbot:

apt install -y certbot python3-certbot-nginx

4. Spusťte následující příkaz a vygenerujte platný certifikát Let’s Encrypt:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. Nahraďte cesty SSL v konfiguraci Nginx:

vim /etc/nginx/sites-available/searxng
# Before:
    # ssl_certificate       /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key   /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate       /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key   /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. Restartujte Nginx, aby se změny projevily:

systemctl restart nginx

7. Otevřete prohlížeč a přejděte na adresu: https://yourdomain.com

Poznámky

  • Customize SearXNG settings in /root/searxng/core-config/.
  • SearXNG listens on 127.0.0.1:8080 internally.
  • Nginx serves /searxng publicly with Basic Auth.
  • Docker volumes persist core data and Valkey cache.

Podrobnosti o aplikaci