Spyke

Posts

Hosting SearXNG behind a VPN

If it helps others this was my config. To be honest I have a weak grasp of what it actually does so there might be some security issues with it.

Apparently you can also add lemmy as a search engine. Will work on that later.

::: spoiler config

# docker-compose.yml
name: searxng

services:
  core:
    container_name: searxng-core
    image: docker.io/searxng/searxng:latest
    restart: always
    network_mode: "service:gluetun"
    volumes:
      - ./core-config:/etc/searxng
      - core-data:/var/cache/searxng

  gluetun:
    image: qmcgaw/gluetun:v3.41.3
    container_name: gluetun
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=custom
      - VPN_TYPE=openvpn
      - OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf
    ports:
      - 8080:8080
    restart: always
    volumes:
      - ./gluetun:/gluetun
    devices:
      - /dev/net/tun:/dev/net/tun

  nginx:
    container_name: nginx
    image: nginx:latest
    ports:
      - 80:80
      - 443:443
    volumes:
      - ./nginx:/etc/nginx/conf.d
      - ./cert:/etc/nginx/cert

  valkey:
    container_name: searxng-valkey
    image: docker.io/valkey/valkey:9-alpine
    command: valkey-server --save 30 1 --loglevel warning
    restart: always
    volumes:
      - valkey-data:/data/

volumes:
  core-data:
  valkey-data:

# nginx/default.conf
server {
  server_name localhost;
  listen 443 ssl;

  ssl_certificate /etc/nginx/cert/cert.pem;
  ssl_certificate_key /etc/nginx/cert/private.key;

  location / {
    proxy_pass http://gluetun:8080/;

    proxy_set_header   Host             $host;
    proxy_set_header   Connection       $http_connection;

    proxy_set_header   X-Forwarded-Proto $scheme;
    proxy_set_header   X-Real-IP        $remote_addr;
    proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
  }
}

server {
  server_name localhost;
  listen 80;
  location / {
    return 301 https://$host$request_uri;
  }
}

:::

View original on lemmy.today
16
mildlyinfuriating·Mildly Infuriatingbyrounding_error

Tried to login to the arch wiki but was given a 3 minute crypto challenge.

Anubis rarely ever annoys me (I still prefer it over cloudflare's Mitm) but this specific visit feels almost vindictive. It used half my CPU cores at full blast for three straight minutes.

It seems to be effective since I can't really "bypass" it with extensions, so AI crawlers probably can't either, but damn there really should be an option to complete a manual captcha or email the administrators to complain.

As I'm typing this the challenge is still running xD

View original on lemmy.today
307
til·Today I Learnedbyrounding_error

TIL A "privacy-focused" ad-company owns Startpage, MapQuest

Started using Startpage a few months ago at the recommendation of a co-worker. It uses Google instead of Bing for search results, which is why I started using it, but I learned that it describes itself as:

"an Industry-leading omnichannel digital marketing platform, powered by Machine Learning and AI, that monetizes internet traffic by putting the right ads in front of the right people at the right time."

https://system1.com/what-we-do#privacy>

View original on lemmy.today
119

Hardware buzz on Windows, but not Linux

content warning: rambling, pointless content below

I am one of those people that gets very annoyed with moderate buzzing generated by piezoelectric elements coil whine and tends to just ignore it if I can. My win10 ltsc desktop with an rx6700xt was buzzing like a cicada bug and it was SO annoying, but I figured it was an issue with the hardware and moved on. (It's really loud, and is triggered by mouse movements and the invisible windows scheduler. Something to do with interrupts). Well I booted into my forgotten linux distro that I use for testing and it's gone now. I use this computer exclusively for fitgirl repacks and steam games but now I am seriously considering putting linux on my main drive since I don't have to listen to that fucking sound.

Adding this to the list of things windows sucks at xD

View original on lemmy.today
32

anyone wish they had friends but too tired of people

I haven’t had an online or in-person friend in maybe 2 years. I had a friend maybe a few years ago that I drifted away from due to us losing interest. It’s really wearing on me. The only person outside my family that I speak to often is an old bud, but that’s limited to sharing memes and not much else. I’m in a place where I want to branch out to others but… they may reject me, lose interest in me, not treat my feelings with respect, or confront and dominate me. That fear entirely spoils any motivation I have to talk to new people. It just feels like any interaction I might have will place me in a worse state than I already am, which is kind of like a neutral zone. I always feel funny because it’s like I’m dying of thirst but am scared of water.

View original on lemmy.today
46

You reached the end