[-] Ooops@feddit.org 1 points 3 minutes ago* (last edited 35 seconds ago)

How do we get responsible politicians?

Easy: Pay them as much as the industry they are actually working for. Oh, you don't have enough money for that? Well, it's your problem (and entirely your fault) that you are too poor to matter.

On a more serious note: People seem to believe that voting more and more for screaching morons promising burn the planet faster while at the same time rolling back every positive development of decades is the way to go. So the actual answer is you won't. Because in a democracy the majority is calling the shots and sadly that majority is criminally stupid.

[-] Ooops@feddit.org 2 points 6 minutes ago* (last edited 4 minutes ago)

"We don't know any actual facts who is opposing these sanctions, but these are the 4 biggest importers of fish of last year and 'Germany bad' is always a best seller, so here's your headline..."


today's media quality

[-] Ooops@feddit.org -4 points 17 hours ago

Nee... Das Ego, das nötig ist, um den Hinweis, dass du wohl Opfer der ständigen rechten Propaganda geworden ist, als persönliche Beleidigung aufzufassen, so offen der Welt zu präsentieren, sagt schon alles nötige aus.

[-] Ooops@feddit.org 7 points 21 hours ago

Wo ist die Nachricht? "Germany bad" ist nicht nur in Russland, sondern auch überall sonst, inklusive im eigenen Land, eins der beliebtesten Narrative.

[-] Ooops@feddit.org 1 points 22 hours ago

Promote more six-packs...

[-] Ooops@feddit.org -1 points 22 hours ago

Wenn mehrere Parteien ganz offen und bewusst gegen Demokratieprojekte kämpfen, aber dein erster Gedanke denen gilt, die nicht anwesend waren, um es zu verhindern, haben Propaganda und Hirnfäule wieder tolle Arbeit geleistet.

[-] Ooops@feddit.org 1 points 22 hours ago

Ihr streitet darüber, wie die Umsetzung in der Realität aussieht, weil exakt da der Knackpunkt liegt. Die Maßnahme dort funktioniert, weil sie zu Testzwecken vernünftig überwacht wird. Die selbe Maßnahme wird nicht funktionieren, wenn es keine Überwachung gibt (oder Ordnungsamt und Polizei demonstrativ daneben stehen und Raserei und Gefährdung abnicken - keine Ahnung, wie ich gerade darauf komme... war wohl eine Eingebung auf Grund der hiesigen neuen "Fahrradstraße").

Deshalb gibt es auch in Deutschland ständig langwierige Projekte zum Test von Dingen, die in anderen Ländern schon lange problemlos funktionieren. Die Prüfen halt meist das falsche, denn es reicht nicht zu wissen, ob eine Maßnahme funktioniert. Es gibt hierzulande nämlich oft immer noch den zusätzlichen "Wir ignorieren einfach Regulierung/Verordnung/Gesetz, denn Autos sind heilig"-Faktor.

@Nukular@feddit.org

[-] Ooops@feddit.org 1 points 1 day ago* (last edited 1 day ago)

As I'm still waiting to see those targeted ads I assumed people are idiots and blasting out their identity and interests all over the place...

PS: Also I was talking about actual finger printing. On the physical bills. To trace them through all the hands between me getting them from a bank and some bank getting them back. The finger printing involved in targeting a ads online is a completely different thing... and easier to avoid, too, as it can be done with a one time setup where IRL I would constantly need to remember to put on gloves.

[-] Ooops@feddit.org 1 points 1 day ago

I'm using the default calendar app that a long time ago came with that lineageos install.

Should be this one iirc...

[-] Ooops@feddit.org 15 points 2 days ago* (last edited 2 days ago)

Don't host the calendar, just host some WebDAV/CalDAV. That format is supported by basically all apps on every platform (usually including the default app on most phones), so everyone can pick what they want (or just stick with what they already use).

My personal pick for that purpose is Radicale.

[-] Ooops@feddit.org 86 points 2 days ago

A mandatory [AI] tag? Sure.

A [NOT AI] tag? No, that's the default. Why normalise AI bullshit even further?

[-] Ooops@feddit.org 35 points 2 days ago

If there only was a source of cheap electricity on hot, sunny days...

34
submitted 2 weeks ago by Ooops@feddit.org to c/unixporn@lemmy.world

26
submitted 2 months ago* (last edited 2 months ago) by Ooops@feddit.org to c/selfhosted@lemmy.world

As this will -thanks to me being quite clueless- be a very open question I will start with the setup:

One nginx server on an old Raspi getting ports 80 and 443 routed from the access point and serving several pages as well as some reverse proxies for other sevices.

So a (very simplified) nginx server-block that looks like this:

# serve stuff internally (without a hostname) via http
server {
	listen 80 default_server;
	http2 on;
	server_name _; 
	location / {
		proxy_pass http://localhost:5555/;
                \# that's where all actual stuff is located
	}
}
# reroute http traffic with hostname to https
server {
	listen 80;
	http2 on;
	server_name server_a.bla;
	location / {
		return 301 https://$host$request_uri;
	}
}
server {
	listen 443 ssl default_server;
	http2 on;
	server_name server_a.bla;
   	ssl_certificate     A_fullchain.pem;
    	ssl_certificate_key A_privkey.pem;
	location / {
		proxy_pass http://localhost:5555/;
	}
}
#actual content here...
server {
	listen 5555;
	http2 on;
    	root /srv/http;
	location / {
        	index index.html;
   	} 
    	location = /page1 {
		return 301 page1.html;
	}
    	location = /page2 {
		return 301 page2.html;
	}
        #reverse proxy for an example webdav server 
	location /dav/ {
		proxy_pass        http://localhost:6666/;
	}
}

Which works well.

And intuitively it looked like putting Anubis into the chain should be simple. Just point the proxy_pass (and the required headers) in the "port 443"-section to Anubis and set it to pass along to localhost:5555 again.

Which really worked just as expected... but only for server_a.bla, server_a.bla/page1 or server_a.bla/page2.

server_a.bla/dav just hangs and hangs, to then time out, seemingly trying to open server_a.bla:6666/dav.

So long story short...

How does proxy_pass actually work that the first setup works, yet the second breaks? How does a call for localhost:6666 (already behind earlier proxy passes in both cases) somehow end up querying the hostname instead?

And what do I need to configure -or what information/header do I need to pass on- to keep the internal communication intact?

view more: next ›

Ooops

0 post score
0 comment score
joined 2 years ago