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

earth is a cat...

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

For some reason companies always call it by a different term when I free software.

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

There is no reality in which nuclear is economically viable when solar, wind and hydro power as well as batteries exist, all with exponentially decreasing costs...

The answer is always the same: people wanting those juicy multi-billion subsidies and politicians paid by them and their lobbyists spend a lot of money (but not that much compared to the amount of taxes you can get with that grift) on desinformation and straight out brain-washing.

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

No, they struggle to cut ties because they don't want to.

"€15m in EU funds" is meant to impress people with some big number they can't practically imagine, but it's a miniscule joke compared to actual EU numbers. If there was any interest, they would simply do it.

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

Funnily a lot of people consider "guy" as gender neutral nowadays...

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

Because the fictious person stealing your laptop and drilling through your disk to erase it identifies as male. I have a whole backstory worked out if you are interested...

Or because it doesn't matter at all and two letters were simply the shortest.

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

Yes, I am in fact okay with refering to every teacher as he, because that's what grammar in my native language demands ("Lehrer, der - masc."). I will also happily refer to every guard as she, because –again– grammar ("Wache, die - fem.).

Genus != sexus != gender... One is grammar, one is biology, one is identity. Overlaps are purely coincidental. I don't understand why especially English speakers can't get the concept. I mean sure, they dumbed down their grammar so much that they lost the destinction, but even unrelated to language they seem to develop an insane fetish for conflating sexus and gender somehow. For example if you need to add "biological" before "gender" for your expression to make sense, that should be a hint that you are actually talking bout different things.

Fun fact: When English tried to move away from gender specific words and towards generic ones (all being actors, instead of speaking about actors and actresses), other languages did the exact opposite. Because when you language's grammar has all nouns (arbitrarily) gendered, actresses and actors is a step forward from the generic actor (which often is male my grammatical definition). At least that was the theory in both cases. Two languages, two exactly opposite reactions to same fact. Why doesn't it make any sense? Because it's a fucking narrative to keep some culture war bullshit going. Language isn't sexist. The Sexism filtering your words before they reach your brain is.

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

The fairy tale German politicians and the media tell 24/7 of how high energy costs for the industry and much too high wages are the problem. And this is after all about a German CEO calling for lower wages "to safeguard Germany's prosperity and welfare state".

When in reality Germany, so the other 99,999999% but him, are struggling because of low wages that in no way represent their economic output, high and rising energy costs –exactly so the industry gets lower costs– and with the pension, social and health system not looking sustainable, but again not because of the delusions this guy and his other rich friends are spreading, but because they are linked to stagnating wages. Suggesting more less and lower pay so his profit margins go up and the country is more fucked is simply insane... or just shameless. Yeah, probably the latter.

Wasn't meant personally in any way. As I said, it sounds logical without a closer look. So I told how it looks from the inside.

[-] Ooops@feddit.org 3 points 20 hours ago

Shush! You are not supposed to think about massively increasing productivity.

If you realize that one worker's real economic output is now 10 times as high as a few decades ago, you won't be properly scared about their screaming of demographics and how it's totally unsustainable that now one worker has to "pay" for more than 3 times the amount of non-working people.

Wait? So real economic output per capita is up by ~ +250% and still we somehow don't have any money to keep up with health care or social costs and can't even afford to keep our infrastructure from crmbling away? I wonder were all that money is going...

[-] Ooops@feddit.org 6 points 20 hours ago

No, they don't. They are just openly lying at this point because they get high on fucking over people.

Pensions, social security and health care are all linked to wages. Proposing less pay for the work you do to save the welfare state is like proposing to smash your head with a hammer to increase cogntive abilities.

[-] Ooops@feddit.org 6 points 20 hours ago* (last edited 20 hours ago)

Economic benefits for whom? I'm pretty sure politicians don't economically benefit for pushing public transport against the wishes of the car and fossil fuel lobbyist owning them. And it gets even better (for their personal calculation that is...) when you realize it isn't their money they are spending anyway.

[-] Ooops@feddit.org 6 points 21 hours ago* (last edited 21 hours ago)

Wait? We are supposed to turn around instead of happily marching on towards fascism ever faster? Why did nobody tell us? ^/s^

34
submitted 3 months ago by Ooops@feddit.org to c/unixporn@lemmy.world

25
submitted 5 months ago* (last edited 5 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