[-] Ooops@feddit.org 2 points 19 hours ago

That has nothing to do with being a defeatists. They will cheat as hard as they can and won't admit defeat when they lose anyway.

He is not saying that all is lost and you shouldn't do anything. Just that if you don't plan for that eventuality you are an idiot and shouldn't dare to act surprised.

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

When European energy companies planned, financed and build Nord Stream 2 to import more Russian gas to Europe it was a "German pipeline" somehow. Because it shipped cheap gas "to German industry"... while Germany actually exported ~90% of the amount of gas imported from Russia in total (as a non-producer) and had declining gas consumption for years.

And after the full scale invasion of Ukraine they all wanted to continue getting their totally not Russian German gas (Poland even stopped buying gas from Russia to then buy the same gas from Germany... yes straight out of the same pipeline directly from Russia as before) while screaming and pointing fingers about those stupid Germans not able to get rid of "their" gas dependency.

So however correct that statement definitely is. Shut the fuck up. It's a German pipeline after all, you stupid, lying hypocrits.

[-] Ooops@feddit.org 4 points 1 day ago
  • Melexis signed a Master Purchase Agreement with Chinese EV ​maker ​BYD in August

  • The group also established its first China-based, Wholly Foreign-Owned ​Enterprise (WFOE) in March

  • Tells us how great and important (for that company - they must accidently have fogotten that detail in the headline) China is in October
[-] Ooops@feddit.org 1 points 1 day ago

"This administration values strength and sovereignty"

No, it doesn't. It values nothing and nobody but itself, not even as a country but really just every person having "me! me! me!" as their personal mantra. Everything else is just a pretense. A strong EU will be seen negatively by that US regime, just like a weak EU is. Not because of any actions or values but because for them everyone else only exists either to be exploited or to try to exploit you. That's simply how those shitbags think.

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

There is no delusion... or incompetence... or stupidity... or whatever other lie voters tell themselves to explain their politicians idiocy. It's basically always corruption.

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

But Italy already has their own domestic neo-fascist is government.

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

That reads much too sane for today's ~~idiot mud fight~~ discussions about AI.

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

Seems broken...

No, I will not cosider Debian for a "bleeding edge' 'gaming' setup.

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

Getting flooded with the exact same algorithm-controlled brain-rot rots brains in the exact same way...

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

"See! We look out for our loyal assets even when they fail to destroy their countries for us."

That's important messaging to encourage all their other puppets to stay loyal...

[-] Ooops@feddit.org 12 points 3 days ago

But they bring many, many more people onboard to help pumping the bubble and later pressure the government to save them once that absolute insanity finally bursts.

[-] Ooops@feddit.org 23 points 3 days ago

If you make a sumo analogy you should perhaps know enough about sumo to understand that being the light-weight sumo wrestler in a sport without weight divisions is not the flex you think it is...

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

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