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

Korruption und Transparenz sind halt nicht kompatibel...

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

irrelevant metaphysical distinction...

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

The point here is that SystemD's natural behavior is to send SIGTERM then wait an eternity.

Those "service XY is shutting down (5sec/2min)" messages you sometimes get on shutdown are coming from SystemD not waiting for 3 seconds like the meme suggests, but waiting for minutes before giving up and switching over to SIGKILL instead.

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

Isn't that the point here? Mode of transportation doesn't matter. People seem to quite universally set the same limits and it's based on time needed. Better, faster or more efficient modes of transportation simply change the distance people consider for jobs.

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

Gibt es auch die deutsche Edition "Die unfassbare Macht jeglicher Industrie- und Wirtschaftslobby"?

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

It's only baffling if you pretend that they are not actively trying to inconvenience cyclists with bad infrastructure.

In my city (in Germany) I have to do these kind of maneuvers every few meters as streetlights and even some signs and trees are intentionally put close to the center line of bike lanes barely 1 meter wide.

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

The "beef" is that most people don't need any air conditioning as they live in actual insulated houses build of stone, brick and concrete that keep temperature stable very well. It needs basically more than a week of extreme heat here for room temperatures to accumulate to the point that it's crossing the mid-20s... and only if it's also not cooling down at night. And I'm living in a relatively badly insulated apartment in an old building. And those whole weeks with scorching temperatures did simply not happen in the past, and barely happen now.

The other aspect is that those with air conditioning seem to somehow all develop the same brain damage firmly believing that they have one, so it needs to run on full power all the time. Which for example simply means I won't visit the one local super market with air conditioning when it's hot outside as I don't need the shock of going from 35°C down to 15°C when entering and then runnign against a wall of heat 15 minutes later when leaving.

Would air conditioning be useful in some cases, like hospitals or retirement homes where people are actually sensitive to heat (if used sensibly that is)? Sure. Go for it! But then in reality they will be the last ones to get air conditioning because if it wasn't about saving money like crazy they could have actually build those properly in the first place to not heat up like an oven in no time...

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

I think the Mars argument is backwards. The missing magnetic field is the main issue. More regular flares being faster in stripping away the unprotected atmosphere is inconsequential on the time scale we are talking about.

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

analysts believe SpaceX is “significantly overvalued”

So a perfectly normal US tech company, operating in a stock market that totally decoupled from economic reality quite some time ago.

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

Wie macht Utrecht das?

Einfach nicht wie geistesgestört alles bekämpfen, das kein Auto ist, und schon geht das ganz von allein. Denn -Überraschung!- Menschen nutzen gerne das viel praktischere Fahrrad, wenn die Infrastruktur es möglich macht.

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

No, they will build an expensive extension so the Bavarian government suddenly remembers that Linux doesn't work and goes back to Microslop products.

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

only to cave to Microsoft soon after?

"Cave" is the wrong verb here. They were outright bribed by Microsoft building their new headquarter in Munich, so they rolled the ongoing transition to Linux back.

26
submitted 1 month ago* (last edited 1 month 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