[-] Ooops@feddit.org 1 points 16 minutes ago

Breitrebe

Den kannte ich noch nicht 😀

[-] Ooops@feddit.org 1 points 19 minutes ago

Okay, hab's glaube ich gefunden... auch wenn ich dafür einige Zeit lang Reddit durchstöbern musste.

das hier?

Das macht die Sache übigens noch lustiger, weil es schon 2 Jahre alt ist...

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

Wir können uns diese Typen nicht mehr leisten.

Wir sind es ja leider auch nicht, von denen sie bezahlt werden oder für die sie arbeiten... 🤮

[-] Ooops@feddit.org 5 points 40 minutes ago

Tja, das passiert halt, wenn Menschen mal linke Politik bekommen.

Aber ich schätze, die breite Masse der Idioten wird weiter Rechts, Rechter, Rechtsradikal wählen, und sich dabei wegen der selbst verschuldeten Dreckspolitik immer weiter radikalisieren. Das scheint ja überall das Erfolgsrezept zu sein.

[-] Ooops@feddit.org 5 points 9 hours ago

Ich kann jederzeit den Supermarkt vor Haustür nutzen. Nur dass ich den eher meide, weil geisteskranke 16°C, wenn draußen mehr als 35° im Schatten sind, brauch ich auch nicht.

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

A platform platform...

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

"Fehler" klingt zu neutral. Man hat nicht versehentlicherweise zu wenig fürs Netz und den Speicherzubau getan, sondern selbigen bewusst blockiert. Für die Rekordleistung beim Verschleppen von Genehmigungen gab es ja sogar 'nen Ministerposten zur Belohnung.

[-] Ooops@feddit.org 10 points 9 hours ago

Yes, the older ones of the rotating backups are still readable.

But that's not even the actual problem nowadays: CDs and DVDs were nice when their size was still relevant in comparison to usual amounts of data. The real problem behind their decay is that we are lacking a widely available, properly scaled backup solution for more than a decade. So the mean reason people have now unreadable optical data is that they stopped thinking about it a long time ago for an utter lack of options.

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

War ja klar, dass irgendwer von den Intelligenzverweigerern früher oder später eins der typischen rotierenden Boomer-Memes nachplappert...

Kann ich 'nen Link (oder den Namen) für meine Idiotensammlung kriegen?

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

Sambucus Nigra (Black lace elderberry)...

The newest stylish fashion trend in shrubbery. And like all cool things it's black (as the name suggests - in reality more a deep purple).

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

"Why are you restricting us from developing our very own competitive torment nexus?!?"

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

If VW was interested in actually producing cars people want to buy, they could have done so for many years now.

35
submitted 3 weeks ago by Ooops@feddit.org to c/unixporn@lemmy.world

25
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