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

the agent is a tool you used

My hammer is also a tool. But if I start using (and talking about) it to wash my cloth and do my dishes I would really hope to get called out for being stupid.

[-] Ooops@feddit.org 2 points 58 minutes ago* (last edited 56 minutes ago)
  • yes

  • yes

  • only if your hardware agrees and you can do without some features

  • as just an init system: no, but you get a much more complete package

  • who cares?

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

Wenn der Hirnschaden dir nunmal sagt, dass du auch dieser Front des Kulturkampfes zu kämpfen hast, wird die Mark -wie alles andere Vergangene- zu eine reinen Phantasie verklärt, die den Blödsinn rechtfertigt...

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

Aber statt die Mengen an (privatwirtschaftlich - also für den Staat praktisch kostenlos- geplant und gebauter) Speichern ans Netz zu bringen, die dieses Problem lösen würden, belohnt Deutschland die absolute Topleistung bei der Sabotage und die Verschleppung von Genehmigungsverfahren um Jahre lieber mit einem Ministerposten.

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

No, it just means that there is noone to enforce it.

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

Mein Fahrrad ist auch so schon nicht hitzefest. Wie ich heute festgestellt habe, quietscht die Federgabel bei über 35°C lautstark... 🫤

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

Now? Not much.

The actual main measures so voters don't fall for stupid bullshit against their interests (education and proper journalism) already failed. In big parts because the propagandists prepared well by buying out a lot of media and defunding education.

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

"European alternatives to the US tools you already use. Pick a US tool to see the vetted European alternatives."

And under this a field with said US tools: Dropbox, Google Drive, AWS, OneDrive, Gmail, Outlook, iCloud, Hetzner, Azure [and more...]

So German Hetzner is somehow a US tool with 11 alternatives ("How do the 11 European alternatives to Hetzner compare?"), of which one is Hetzner...

[-] Ooops@feddit.org 29 points 21 hours ago

Wouldn't work either as they are -very obviously here- just ignoring the rules anyway.

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

Nice to see that Hetzner is a good pick to replace (German) Hetzner because a European Cloud Hoster defnitely needs a European alternative... 🤣

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

How do we get responsible politicians?

Easy: Pay them as much as the industry they are actually working for. Oh, you don't have enough money for that? Well, it's your problem (and entirely your fault) that you are too poor to matter.

On a more serious note: People seem to believe that voting more and more for screaching morons promising burn the planet faster while at the same time rolling back every positive development of decades is the way to go. So the actual answer is you won't. Because in a democracy the majority is calling the shots and sadly that majority is criminally stupid.

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

"We don't know any actual facts who is opposing these sanctions, but these are the 4 biggest importers of fish of last year and 'Germany bad' is always a best seller, so here's your headline..."


today's media quality

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

26
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