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

Korrigierter Titel: Verfassungschutz bekämpft Verfassung

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

Die Behörden verfügen bereits über umfassende Befugnisse, die für effektive Strafverfolgung völlig ausreichend sind

Aber wenn sie nicht mehr massiv Geld und Arbeitskraft in illegale Überwachung investieren, müssten sie ja mit tatsächlicher effektiver Strafverfolgung anfangen...

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

Ich hatte ein AfD Plakat unter den ersten 5 Fragen.

Edit: Musste 'ne zeitlang klicken, um ihn weiderzufinden...

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

That sadly only works for the limited number of people with a working brain.

The amount of idiots that vote far-right to get the left policies the left never in power did thus not deliver is insane. Those people will also scream in your face about fake news or even get aggressive if you read straight from their populist party's programs, because the brain rot they consume says otherwise.

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

Finanzen > Naturgesetze

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

Und erst 6 Stunden später seh ich den passenden Artikel

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

Guter Journalismus hat aber schon lange zuvor Suizid begangen, und den schlechten Journalimus, der übrig ist, macht KI auch nicht besser.

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

Was sollen die Wähler auch sonst tun?

Einfach "stur weiter" so oder "dasselbe in noch korrupter" wählen, wie es bei der anderen Regierungspartei auch ist... 😜

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

Germany's actual "struggle" is the pool of brain-dead voters that elect the cause of problems as the alleged solution again and again and again.

So don't be surprised when every decision is stupid and doesn't solve any problem. That's the whole point for those corrupt shitheads.

[-] Ooops@feddit.org 20 points 4 days ago

The problem is not "using the drivers". It's the driver quality.

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

Welche angeblichen Warnsignale ignoriert die Politik denn? Die Antwort der Wähler auf ungerechte Verteilung ist doch, mehrheitlich Parteien zu wählen, die entweder die existierende Umverteilung nach oben unterstützen oder sie sogar noch steigern wollen. Also machen die aus ihrer Sicht doch alles richtig.

[-] Ooops@feddit.org 27 points 4 days ago

Ab irgendeinem Punkt wird "technologieoffen" halt albern, weil jeder mit 2 funktioniereden Gehrinzellen weiß, dass es nur Code ist für "einfach weiter wie bisher und so tun, als wenn jeden Moment eine neue Technologie vom Himmel fällt, durch die das nicht bekloppt ist und im Untergang endet".

Und wenn man erstmal soweit ist, müssen die Worte keinen wirklichen Sinn mehr ergeben. Sie sind halt eh nur noch Gebrabbel für Idioten, die darauf herein fallen.

Der selbe Typ Idiot hätte auch damals die Entwicklung von Autos zugunsten von Kutschen verweigert, weil sicher jeden Moment die magische Super-Pferderasse gezüchtet wird, die Motoren obsolet machen.

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