Ooops

joined 2 years ago
[–] Ooops@feddit.org 3 points 42 minutes ago* (last edited 42 minutes ago)

Electricity costs are already decoupling from volatility of fossil fuel-driven energy prices and still the politicians bought by the fossil fuel industry fight it (https://flex-power.energy/energyblog/the-great-decoupling/)

[–] Ooops@feddit.org 4 points 54 minutes ago

Ist doch nur 12 Jahre alt...

[–] Ooops@feddit.org 1 points 56 minutes ago

And afterwards they tell some whiny tale how the people are to blame and cry about those backward Germans opposing digitalisation.

When in reality there is only broken bullshit and so it becomes second nature to avoid it (like for example of course officially objecting to your participation in the new digital medical file years before the roll out... so about a year and a few days before the data of the few who missed it gets leaked).

[–] Ooops@feddit.org 3 points 13 hours ago

Wow... those polls must have really spooked some people when they already start pushing bad AI slop propaganda on social media now...

[–] Ooops@feddit.org 1 points 13 hours ago

Honestly I don't even conciously remember if I ever saw one in all these years. 200s are really sufficient to pay for high 3- to low 4-digit sums and I'm not in the habit of paying higher sums in cash...

[–] Ooops@feddit.org 7 points 16 hours ago* (last edited 16 hours ago)

Angeordnet? Ich dachte diese typsichen post-OP Anweisungen Anstrengungen zu meidem wären nett gemeinte und völlig optionale Vorschläge...

[–] Ooops@feddit.org 32 points 16 hours ago* (last edited 16 hours ago)

But decades of media has conditioned people to believe that most tech and IT stuff is basically magic, and that seems to nowadays include tech-centric journalists.

So they simply don't think about actual feasibility and just report omitting details because "look, tech wizard did tech-wizardry".

[–] Ooops@feddit.org 19 points 18 hours ago* (last edited 13 hours ago)

Wer möchte wetten, dass wir in den Medien mehr von 'nem guten Dutzend geisitg verwirrter und ihrem Autokorso gegen Spritpreise sehen und hören werden als von 80.000 Menschen, die deutschlandweit auf die Straße gehen?

Edit: Ich bin beinah beeindruckt, dass es in der Tagesschau tatsächlich einen längeren Beitrag mit Stimmen von Beteiligten gab. Da hatte ich inzwischen tatsächlich nicht mehr mit gerechnet.

[–] Ooops@feddit.org 35 points 19 hours ago

So a narrow but clear win for the Rust compiler still...

[–] Ooops@feddit.org 19 points 2 days ago (2 children)

"Und zwar auf dem Markt für gebrauchte Elektrofahrzeuge. Händler rechnen mit einem Preissturz."

👍

[–] Ooops@feddit.org 21 points 2 days ago

That's not actualy LAMF material.

Sure, the war Trump started may have heavily accellerated (and yes, sadly that is still only a "may") the move away from fossil fuels. But it also make those people much richer in the short-term. And that is all they care for: the short-term bottom line. The long-term problems are for someone else to solve later...

[–] Ooops@feddit.org 2 points 2 days ago

Which left is in power to actually fight anything? The right fucks us over for decades, then screams "blame the left" and like the guy with propaganda-induced brain damage you are, you believe and parrot it.

 

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 ›