frankel, to random
@frankel@mastodon.top avatar
linuxiac, to linux
@linuxiac@mastodon.social avatar

Angie 1.4.0 debuts with enhanced HTTP/3 support, MQTT handling, and refined server recovery, plus all Nginx 1.25.3 features.
https://linuxiac.com/angie-1-4-0-web-server/

#linux #opensource #nginx #webserver

ross, to NixOS
@ross@rossabaker.com avatar

Libravatar is a decentralized alternative to Gravatar. I'm self-hosting it with NixOS, Nginx, and DNS records managed by OpenTofu.

https://rossabaker.com/configs/libravatar/

frankel, to random
@frankel@mastodon.top avatar
chrisc, to rubyonrails

SaturdayMP Show #22: Adding Basic Auth to NGINX Passenger Docker (Part 2)

https://youtu.be/i0W_3Q55gro

In this episode I get the Basic Authentication NGINX configuration working using the envsubst tool to replace environment variables in the config file.

Question you want answered in a future video? Pair on a problem? Constructive feedback? DM me or email ask@saturdaymp.com.

#httpbasicauth #nginx #rubyonrails #passenger #docker #saturdaymp #saturdaympshow

irfan, (edited ) to Kubernetes

UPDATE: The service is accessible by its domain (#Ingress) as soon as I set the DNS server of my client machine to my PiHole. For other systems not using my local DNS (so outside my network), the domain remains unreachable. My suspicion is an issue with the Port Forwards, but idk what's wrong w em as it is.


Note: this may not be in the exact order. If the order to any of this is important, feel free to point that out.

  1. I've added to #Cloudflare, to my zone (domain), the hostname foo pointing to my network's public IP.

  2. I've deployed everything you'd need including #MetalLB (which determines the dedicated Ingress private IP), #nginx-ingress (type set to LoadBalancer instead of NodePort), and #cert-manager (with both HTTP/DNS clusterissuers). If you want to take a peek at how I've deployed/configured them, more details are on here: https://github.com/irfanhakim-as/orked.

  3. I've added foo.domain to the closest thing resembling to a DNS server that I have, #PiHole, pointing to the dedicated Ingress private IP.

  4. I've set my router's only DNS server to the PiHole's IP.

  5. I've set all my Kubernetes nodes' (Masters and Workers) DNS1 to the Router's IP (DNS2 set to Cloudflare's, 1.1.1.1).

  6. I've created a port forwarding rule for HTTP on my router with 1) WAN Start/End ports set to 80, 2) Virtual Host port set to its nodePort (acquired from kubectl get svc -n ingress-nginx ingress-nginx-controller -o=jsonpath='{.spec.ports[0].nodePort}' i.e. 3XXXX), 3) Protocol set to TCP, and 4) LAN Host address set to the dedicated Ingress private IP.

  7. I've created a port forwarding rule for HTTPS on my router with 1) WAN Start/End ports set to 443, 2) Virtual Host port set to its nodePort (acquired from kubectl get svc -n ingress-nginx ingress-nginx-controller -o=jsonpath='{.spec.ports[1].nodePort}' i.e. 3XXXX), 3) Protocol set to TCP, and 4) LAN Host address set to the dedicated Ingress private IP.

  8. I've deployed a container service, and an Ingress for it, using #LetsEncrypt's DNS validation clusterissuer.

Current result:

  • Cert-manager creates a certificate automatically and is in a Ready: True state as expected.

  • The subdomain (foo.domain) however remains unreachable, no 404 errors, no nothing. Just "The connection has timed out" error.

  • Describing the container service's ingress (foo.domain), shows that it's stuck at "Scheduled for sync".

#Kubernetes and #Networking experts - please tell me what I've done in any of this that were either wrong or unnecessary, or what I'm currently missing here for me to reach my goal of being able to get my container accessible via foo.domain through that Ingress. I suspect that I might be doing something wrong with this whole DNS mess I literally cannot fathom. I feel like I'm insanely close to getting this thing to work, but I fear I'm also insanely close of blowing up my brain.

cc: @telnetlocalhost (thanks for bearing w me and getting me this far)

kubikpixel, to webdev
@kubikpixel@chaos.social avatar

Which web server is the fastest and most suitable for you if it has to distribute the network requests to different services located in virtual operating systems. It should also be relatively easy to configure 🤔 :BoostOK:

Npazo, to random

@ovid I am a DevOps/SRE person who inherited a web app that runs on Apache and Perl. What’s the stance on running Perl in 2023? Is it still Apache?

ovid,
@ovid@fosstodon.org avatar

@Npazo Today, #Apache's still used, but it's less popular. Many #Perl projects prefer #nginx

However, I'd first consider looking at PSGI/Plack (https://plackperl.org/). If you can switch to that, your Perl code is pretty-much server-agnostic at that point. Makes it much easier to switch servers if you need to.

@miyagawa could probably answer questions about that, too (he wrote PSGI/Plack)

mjgardner,
@mjgardner@social.sdf.org avatar

@negative12dollarbill @Npazo @ovid Disagree about #Nginx and #Perl being at cross purposes. In fact, Nginx has long had a first-party module analogous to mod_perl: https://docs.nginx.com/nginx/admin-guide/dynamic-modules/perl/

#Fortra (formerly #AlertLogic)’s Web Application Firewall is based on Nginx and Perl: https://www.fortra.com/services/managed-services/waf

grischa, to random

Ich hab's getan. 🫣
feuerfis.ch ist seit letzter Nacht online. 😀

Überzeugt habe ich mich dann damit, dass ich sowieso mal einen "richtigen" Server haben wollte, auf dem ich mich völlig frei austoben kann. Und die sind inzwischen echt durchaus erschwinglich geworden!

Beeindruckt war ich, wie leicht sich installieren lässt! 😳
Einfach einen Ubuntu VPS ordern, curl, wget und git installieren und dann ein Installationskript starten, dessen Parameter man noch leicht anpassen muss.
Das Skript installiert und konfiguriert alles nötige, wenn man will. Sogar und alle anderen benötigten Services, wenn sie noch nicht vorhanden sind. Nginx und PostreSQL hatte ich sogar vorher installiert, weil ich nicht sicher war, wie weit das Skript geht. Es kam auch mit vorheriger "Teilinstallation" klar.
Man braucht dann ein wenig Zeit und vor allem darf man bei dem Skript nicht nervös werden 😀, es gab 2 Stellen, an dem es echt sehr lange ohne Meldung "hing". Aber lief dann total ohne Probleme durch.

Na mal schauen.. 😊

SirTapTap, to webdev
@SirTapTap@mastodon.social avatar

So is #Apache holding fast against HTTP3 forever?

Considering just giving up and switching to #nginx . I have a pretty basic Wordpress install. I just want that speed.

I'm on cloudflare which says it adds HTTP3 but no HTTP3 checker seems to register sirtaptap.com as HTTP3

#webdev #web #wordpress

guardianproject, to HowTo

We just created a for how to set up dev/test servers using our enabled forks of and running on . It should be very quick to get started using a new domain: https://guardianproject.info/2023/11/10/quick-set-up-guide-for-encrypted-client-hello-ech/

conansysadmin, to Cybersecurity
@conansysadmin@mstdn.social avatar
codemonkeymike, to php

Any #nginx #php #nixos experts here? All I want to do is have /sitemap.xml to actually render the content of /sitemap (which is a PHP controller)

If I go to /sitemap, i see the content I want, but I cannot get /sitemap.xml to serve this up. :(

I asked chatGPT thinking this is a good softball question for it. But it just runs in circles and I keep getting 404s

conansysadmin, to Cybersecurity
@conansysadmin@mstdn.social avatar

Build your own secure realm, where the most powerful secret tongues are spoken. #TLS #OpenSSL #cybersecurity #Nginx #OpenSource https://cromwell-intl.com/open-source/nginx-tls-1.3/building-openssl-nginx.html?s=mc

conansysadmin, to Cybersecurity
@conansysadmin@mstdn.social avatar

The latest secret tongues are the most powerful. Learn to speak them fluently with the #Nginx conjuration, and you will be ranked among the top #cybersecurity warriors. #TLS #OpenSource https://cromwell-intl.com/open-source/nginx-tls-1.3/?s=mc

governa, to random
@governa@fosstodon.org avatar
thomrstrom, to programming
@thomrstrom@triangletoot.party avatar

I don't normally shill for my employer here, but it's big news: https://www.wsj.com/articles/chainguard-an-open-source-security-firm-raises-61-million-a4a940da

It's been a rocket ship adventure, for sure. We tried a few things, but It turns out that 0-vulnerability open-source container images are a big deal.

Somehow in 2023, we are still at the point where projects like #NodeJS, #nginx & #PHP publish container images with hundreds of CVEs. We minimize, harden, and remove vulns from these images, and our customers love it.

Want 0 #CVE images? Choose #Chainguard.

caskfan, to random

I must write out 100 times: remember to delete default from sites-enabled after installing #nginx

Spent a couple of hours today trying to work out why remote access to my site wasn't working...

AstraKernel, to rust
stfn, to random
@stfn@fosstodon.org avatar

Hey #nginx ninjas, I need your input. I want to run a Python script on my VPS that will have access to nginx access.log. The script belongs to my user, the access.log belongs to www-data. What is the safest way to allow the script to have read access to that log? I'm thinking of doing a cron job that will every X minutes copy the file to my homefolder and change its owner. But that cron job would require extended permissions. How to do it safely?

lispi314, to random

In case the #SquidProxy security audit (https://mastodon.sdf.org/@ParadeGrotesque/111218095926190827 https://megamansec.github.io/Squid-Security-Audit/) has you a bit stressed, remember that #nginx does support acting as a caching reverse-proxy, so depending on your use-case that could be a viable replacement.

#cache #ReverseProxy

tdp_org, to webdev
@tdp_org@mastodon.social avatar

If you run a publicly available website/service, keep an eye on https://www.cve.org/CVERecord?id=CVE-2023-44487.

It'll be announced at midday UTC today (10th Oct 2023).

If there isn't an update you can deploy quickly for your affected services immediately (there should be for the better known software, they've had advance notice) then you should consider disabling the affected element until there is.

Can't share more right now but it's important so don't forget (& tell your friends!).

tdp_org,
@tdp_org@mastodon.social avatar

Looks like the nginx patch will be available tomorrow:
https://www.nginx.com/blog/http-2-rapid-reset-attack-impacting-f5-nginx-products/

Change notes:

> ...a limit of no more than 2 * max_concurrent_streams new streams per one event loop iteration was introduced...

...

> ...refused streams are now limited to maximum of max_concurrent_streams and 100...

blainsmith, to random
@blainsmith@fosstodon.org avatar

Achievement unlocked:

conansysadmin, to Cybersecurity
@conansysadmin@mstdn.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • Durango
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • lostlight
  • All magazines