#NGINX
NGINX is removing h2 server push:
https://hg.nginx.org/nginx/rev/262c01782566
I recently had some troubles setting up php-fpm and nginx on two different containers in Kubernetes. Finally, after lots of trial and error, I have figured it out. In order to avoid that hassle in the future I wrote a short blog post about it, which might also be useful if you end up in a similar situation.
Angie 1.2.0 Web Server Released with Sticky Sessions Support
https://linuxiac.com/angie-1-2-0-web-server/
The third stable release of Angie, a drop-in replacement of the popular Nginx web server, comes with some exciting new features.

Это удивительно, у меня три сервера и на все них разные веб серверы.
https://quietplace.xyz/ - #caddy
https://gemini.quietplace.xyz/ - #apache2
https://bbs.quietplace.xyz/index.html - #nginx
:blobcatderpy:
Praying to the github issue gods that my request on this stupid #websockets issue with #PeerTube and #Caprover reveals a solution. Its the last major error in the dom when I inspect, and I suspect it is also causing issue with my stream hanging when being watched on other federated instances.
I know it has to be something to go into #NGINX as mentioned by Peertube but everything I do doesn't change a thing...
If any PeerTube or CapRover admins might have an idea of how to resolve I'm all ears.
Git init, Static Analysis, and HTTPS site with Docker and Nginx
#git #SoftwareDevelopment #RaspberryPi #docker #nginx
👉 Please retweet if you ❤ Plurrrr. Thanks! 👍
I'm a long time #apache web server admin having sworn by it and had it in regular use since I started learning Unix in 1998. Well, for the first time ever, I'm not using Apache in production. I just realized that my two current web servers are only running #nginx. Now granted the reason for that is NGINX is recommended for Mastodon and Ghost Blog
I had grand designs on starting my #nginx configuration project today. But I am just too tired and had too much thrown at me.
Benchmarking #Caddy vs. #Nginx - https://blog.tjll.net/reverse-proxy-hot-dog-eating-contest-caddy-vs-nginx/ #dailylinks by @tyler
Okay, I've got a project. I want to learn more about using #nginx as a reverse proxy server because it works so damn well. I'm currently using the "easy" version of it called NGINX Proxy Manager. Everything gets hidden behind a pretty little point and click interface. Don't get me wrong as it's a damn fine product but I really want to know what goes on behind the scenes. I'm sure I'll break a few things while I'm at it but that's the fun of playing in a lab.
Today I tried to setup a PHP ecosystem on my MacBook Pro M2 with Podman. It was a little bit difficult but I have done it ☺️
Now I have a isolated pod where my #php fpm #nginx and #postgres are running. The only published port is 8080 for the nginx.
But the best benefit is: Each container runs rootless ! #podman #devops
Here is the link to the #github repository:
Sending NGINX logs to a remote syslog server #windowssubsystemforlinux #nginx #logs
Having a #CrazyIdea right now.
Thinking about hosting some pages on my smartphone...
https://megaf.info/ is running on my Android with #nginx
Using #apache2 on #debian as #reverseproxy
#linux is crazy, isn't it? Amazing what you can do with #ssh and #portforwarding
Having some ideas for #loadbalancing now with #haproxy maybe, having copies of the website in several places.
A copy on a #raspberrypi, another copy on my #smartphone, perhaps another one on a free VPS tier or something.
Use GoAccess for real-time traffic analysis of #Apache or #nginx logs:
https://consummatetinkerer.net/apache-traffic-analysis-using-goaccess/
Nginx 1.25.0: experimental HTTP/3 support
Link: http://nginx.org/en/CHANGES
Discussion: https://news.ycombinator.com/item?id=36047524
【 #Mastodon を構成する技術要素 】
下記記事で勉強中。。。。🤔
https://handon.hatenablog.jp/entry/2018/12/18/004652
(引用)
要素名 ソフトウェア名 概要
web server #nginx HTTP/HTTPSリクエスト処理
web #rails Web処理(通常処理)
streaming #Node.js Web処理(Userstreamのみ)
media #swift 画像やカスタム絵文字の格納
db #postgresql アカウント情報やトゥートの格納
cache #redis キューキャッシュ
job queue #sidekiq ジョブハンドラー

Acabei de migrar vários sites WordPress de NGINX e Apache para Litespeed. O desempenho e absurdamente melhor!
#webservers #apache #nginx #litespeed #wordpress #performance
I got sick tired of people hammering my web server trying to exploit vulnerabilities on things like #log4j or #wordpress that I don't even run. My list of blocked IPs on #fail2ban was getting out of control, so I took off and nuked the site from orbit (only way to be sure). I blocked ALL IP addresses from China using #iptables and #ipset
It's always the little things that I forget to setup. I forgot that in the Unix world not all packages automatically configure log file rotation. Ummm, yeah, so I discovered a 80mb log file. That's huge. So as part of the maintenance duties, I configured log rotation for #nginx and #apache. Now I'm laying down and slow blinking until I fall asleep.
The main advantage of using #NixOS is that the whole system and its services can easily be configured with just one (or optionally multiple) configuration file. For example, in just a few lines of Nix (the declarative language used by the Nix package manager) I can tell what packages have to be installed, in my case stuff like #Nginx, #Jellyfin, #Syncthing, etc., and I can tell it how each service must be configured (Nginx virtual hosts, Syncthing config and data folders and so on).
To the #geeks, but also the #ITspecialists and #networking guru's here.
If I install a #nginx webserver on a #raspberry pi4 connected via LAN to the Fritz router with #ipv4 and port forwarding, it works with one ISP.
The nginx web server has been reinstalled with #ipv6 instead and firewalls disabled (for testing) but with a new ISP (Sagemcom router)....no access from outside my network, only in or out of my network - AAAA field in DNS is set correctly.
Any idea what might be wrong?
🤬👀🤯

After battling with #Nginx and #Traefik, I finally got my Lemmy instance up (https://lemmy.nexus)! 🤓
#Docker #DockerSwarm #Linux #SysAdmin
Time to go grocery shopping 🛒!
Anyone got any tips on connecting a web app in a #docker container to the wider Internet via an #Nginx reverse proxy? I’m #selfhosting an #Azuracast server. I’ve given it custom port numbers so it doesn’t clash with the rest of Nginx. I think I just need a little help writing up the Nginx vhost config file.
fedicompis, necesito fediayuda por favor. Hace mil años que no trato con #webs yo solía manipular el archivo .htaccess de #apache para hacer url masking. Hoy en día, ¿cual es la mejor forma de cambiarle la url a una web? He visto #nginx, #caddy Es para un #peertube que estoy trasteando. La dirección larga es: https://debcloud3.labaudric.pm me gustaría hacer que se comportara como https://feditubo.labaudric.pm uso hetznet como proveedor, one.com como registro, y estoy usando yunohost para controlar la máquina,
Perdón por la novatez de la pregunta. Llevo mucho tiempo sin hacer estas cosas.
Spent a few hours experimenting with NGINX caching today and I now properly understand the stale serving behaviour (inc. how proxy_cache_use_stale behaves - not how you'd guess from the name!) & found the magical settings which minimise origin requests without causing latency. Write up to follow but I'm very happy with the results.
#nginx #caching #webPerf
Eine #Nginx Config bauen, die auch mit localhost und ohne SSL funktioniert, eine Webseite hostet und eine API. Ohje, das wird was...
Hah! S3 caching for media.metalhead.club enabled and working ✅
(yes, it was the proxy_buffering=off that caused the issue ;-) )
Der Archiv-Export auf dieser :mastodon: Instanz funktioniert nun :party:
Wenn du ein #mastoadmin mit #S3 und #Nginx bist, kannst du diesen Workaround anwenden https://github.com/mastodon/mastodon/issues/24380#issuecomment-1537219676
Anybody familiar with #wordpress here?
I have a weird problem with a dockerized WP installation that I HTTPS proxy with nginx to the Web.
Everything runs nicely but I cannot upload files larger 2MB.
I found a way how to override the php.ini settings and - in theory - could upload larger files, but now I get a weird error message that says something like "No valid JSON message".
I must admit: I am outnumbered and close to quitting.
@The_KamikaZEN have you contacted #DreamHost support at all. Do they support a `.htaccess` file in the `.well-known` directory? What web server software are they using? #Nginx #Apache #LiteSpeed #OpenLiteSpeed If they have have any special server rules/restrictions setup for that path that might be the problem. This is unfortunately one of the reasons why getting the #ActivityPub plugin working on all #WordPress sites is such a challenge. This needs hosting provider support.
@schenklklopfer @BafDyce also im #nginx kostet mich das 5 Zeilen Konfiguration ohne Downgrade 🤔
I've just run in to the problem again - so here's how to solve it:
acme.sh fails with error 404 - ACME challenge not found (Nginx)
https://thomas-leister.de/en/acme.sh-fails-with-nginx-error-404/
HIRING: Senior Network Security / India Bengaluru https://infosec-jobs.com/J29347/ #InfoSec #InfoSecJobs #Cybersecurity #jobsearch #hiringnow #CyberCareers #IndiaBengaluru #Agile #Automation #AWS #Azure #Citrix #Cloud #Firewalls #GCP #iOS #Monitoring #Networksecurity #Nginx #VPN
I’m having an unreasonably good geeky time at work today. Using nginx to dynamically rewrite a web page via query parameters and publishing the whole thing into AWS Fargate in order to tie two other technologies together at the client side. This is the sort of thing I never got to do at my old job.
Posting this as a breadcrumb (for me to find... or someone else... or future sentinent AI when it wants to copy this info into source code LOL) #nitter #twitter #linux #docker #nginx #reverseproxy #rss #scraper #certbot #letsencrypt
#nginx 1.24 Released With TLSv1.3 Protocol Enabled By Default
https://www.phoronix.com/news/Nginx-1.24-Released
Original tweet : https://twitter.com/phoronix/status/1645896913449877505
In less than a hour we will start implementing nginx guix service. It is different from one provided in guix repo and I'll explain why.
Just out of curiosity, how many #WordPress people out there actually have experience installing a #Nginx or #Apache server and configuring it for a WordPress website. I'm thinking it's becoming less and less common.
Shout out (again) to @beasts (not a paid ad, but pure ❤️ for their hosting). Got a 8gb #raspberrypi 4 #linux running #mastodon server,#nextcloud, #git server, #postgresql, #nginx, related mastodon-needed apps, & the system is running smoothly. Noting that I’m the only the sole user for my setup. Nevertheless, it works! It’s still a vps solution which I could have replaced with home-based hosting, but decided not to for convenience purposes. https://www.mythic-beasts.com
Potrzebuję waszej opinii.
Mam w rozwiązaniu #Caddy.
Robi co trzeba, ale potrzebowałbym możliwości które znam z #Nginx-a lub #Traefik-a.
A słabo Caddy znam.
Poznać go i zmusić do roboty jak Nginx, czy od razu wywalić i przejść na sprawdzone?
Przejście byłoby na starcie szybsze, ale fakt, że wybrano Caddy mnie zastanawia, i dałbym mu szansę, by nie iść w fork.
I promised our Day of Defeat clan, the NEO Sr clan, I would get our forums back up and running. The previous admins got upset somehow, and took their domain and forums and left, which is annoying. Unfortunately, I use #Nginx instead of the default Apache, so I'm struggling with the setup of Phpbb, which is our previous software. I need to buckle down and figure it out today. Can't be that hard, right?
I spent ~1 day in total this week trying to make NGINX (proxying) cache objects with a cache-control max-age or stale-* less than N seconds in a ramfs proxy_cache, everything else in an SSD cache.
Native NGINX definitely can't do it. The Openresty Lua module almost does it but it's unreliable. njs lacks the correct phase event to do it at all.
Anyone know another way? It doesn't seem possible which is a real shame.
#NGINX #webDev
How to Develop a Simple Web Application Using #Docker, #Nginx, #PHP, and #MongoDB
#nginx what a great idea? Lets just internally have whatever codes so nobody can guess what error pages would really be needed.
"The ngx_http_ssl_module module supports several non-standard error codes that can be used for redirects using the error_page directive:
495
an error has occurred during the client certificate verification;
496
a client has not presented the required certificate;
497
a regular request has been sent to the HTTPS port.
"
http://nginx.org/en/docs/http/ngx_http_ssl_module.html#errors
#activitypub #wordpress #nginx does anyone have nginx example config to avoid activitypub requests (accept:application/json) being cached by nginx? I'm trying to "educate" my hosting company ;-)
Just had a quick look at the NGINX JavaScript module thingy (njs). It's pretty weird and kinda janky IMO. Despite JS being one of the languages I use a lot, I think I'd probably still opt for the OpenResty Lua module.
Anyone using njs? Am I wrong?
RT ApacheAPISIX: Just getting started with Apache APISIX? 👀
https://apisix.apache.org/docs/apisix/getting-started/
Check out our comprehensive guide that covers everything from key concepts to features to help you get started with ease! 🚀
#ApacheAPISIX #APIGateway #DeveloperGuide #programming #nginx #k8s #opensource
#NGINX and other #HTTP servers will throw a fit if a client sends 1000 requests, and literally tell the client to go away. In the #java programming language, the #HttpClient built into the #jdk throws an IOException, without any further specialization. The #Jetty client for HTTP/2 does throw a specific error and also indicates the lost frame ID, for easy resumes. I guess we could switch clients, or I could find a nice way to catch this error and resume communications. Any suggestions?
My website is #down because I messed up its #Nginx via #YunoHost.
Going for a run, then fixing it.
Long shot: Does anyone know of/have detailed info on NGINX timeouts (mainly in the http proxy module)?
The docs are, let's say, "terse".
What I need is more detail on the context and nuance e.g. are the timeouts per request/upstream, do the inter-byte (?) timeouts such as `proxy_send_timeout` act as first-byte timeouts too? (presumably yes, but the docs don't say).
https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_timeout
@garritfra Well to be honest #nginx is much more tested.
But sometimes FOMO (fear of missing out) hits and we want to use the latest shiniest technology available 😅
TIL: pushing to a #git repo over https (#nginx frontend) and getting this error?
[error] 32785#101051: *89072 client intended to send too large chunked body: 10477743+8192 bytes,
Look for client_max_body_size in nginx.conf , you may need to raise it.
(hint: after "chunked body:" you can see the max value in bytes for that setting, followed by the bytes sent "over the limit" in the push)
@juev this was achieved with #nginx on the #server, meaning, it doesn't need to download any resource to your browser and the server will redirect them blazingly fast. ⚡️
add this to your nginx config
```
location /github {
return 301 https://github.com/ayoayco;
}
location /mastodon {
return 301 https://social.ayco.io/@ayo;
}
location /linkedin {
return 301 https://www.linkedin.com/in/ayoayco;
}
location /soundcloud {
return 301 https://soundcloud.com/ayoayco;
}
```
This afternoon for fun I set up simple short links to some places people can find me online.
🐙 https://ayco.io/github
🐘 https://ayco.io/mastodon
🎶 https://ayco.io/soundcloud
🧑🏻💻 https://ayco.io/linkedin
📸 https://ayco.io/photos
#webdevelopment #server #nginx #backend #softwarearchitecture #influencermarketing #tips #webdev
My secret weapon is OpenResty. Probably the most stable, powerful and underappreciated web server. nginx + lua!!
Any fellow OpenResty fans out there???
New home network is set up again.
- #Unraid server booted up
- #Cloudflare tunnel for the custom domain,
- using #Nginx as the reverse proxy to serve the different applications
Took a while yesterday evening to figure out why some servers produced HTTP 502 Bad Request responses, but now we're syncing with the NAS again 🎉
trying to set up my #selfHosted #mastodon instance to support all of these (using #hachyderm as an example of a working setup):
- apex domain points to mastodon: https://hachyderm.io
- "www" subdomain also points to mastodon: https://www.hachyderm.io
- arbitrary subdomain points to a different site: https://community.hachyderm.io
what's the most straightforward way to configure #DNS and #nginx to accomplish that? 🤔 i have ideas, but none have worked so far, and i'm straying further from the light 🤪
Our website was targeted with a Distributed Denial of Service attack using HTTP/2 multiplexing within the 2 minute window from 2023-02-09T00:58:00Z to 2023-02-09T01:00:00Z. OVH detected it and enabled mitigation but enough went through to cause downtime due to memory limits.
I try to switch to #Ansible on my server. Are there any tools which create an Ansible role or playbook from an already existing #Docker container? Apparently the Ansible role I wrote for my #nginx proxy container does not include all the information necessary, as it totally broke after an upgrade today. When I tried the docker-compose script which initially set up the container, everything was fine; so I am obviously missing something in my Ansible role :(
#askfedi #askfediverse
I also published another tiny piece that day. Completely unrelated, much shorter, and much more boring.
When is Kubernetes getting HTTP/3?
Question to #nginx experts.
I am trying to configure nginx to make it buffer chunks of POST body before sending it to upstream, I only found proxy_request_buffering that only allows to buffer the whole request or don't buffer anything.
Is there a way to configure a custom buffer size to it would receive and forwards chunks of the request body of a specified size ?
It's to forward to an upload service streaming large object to object storage (via https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Uploader for example)
#devops #web
#Nginx users, trying to figure out if this is possible and would appreciate any help.
I have a Nginx server facing the web and would like to proxy the connection to another server then proxy the connection again to a third server.
Would I set up Nginx on the first two boxes pointing to different ports using upstream {}?
Like so:
Internet p80 -> p80 N1 p7090 -> p7090 Nginx2 p8080 -> p8080 Webserver
Would this technically work and not break anything having an extra hop?
Thanks for any help!
NGINX users: You know that tricky limitation where you had to buy NGINX+ to get re-resolution of DNS for upstreams? Well, looks like that's finally going away for OSS NGINX:
> The series is a compilation of patches with the upstream re-resolve
feature from the Nginx Plus. The original commits were rebased on top of the current OSS code...
Shame we just spent several weeks building & validating the same done externally.
#Development #Trends
Netcraft Web Server Survey January 2023 · Cloudflare becomes the most popular web server, surpassing Apache and nginx https://ilo.im/10psrp
_____
#WebTechnology #WebDevelopment #WebDev #WebHosting #WebServer #Survey #Netcraft #Cloudflare #Apache #Nginx
I'm trying to make Liblast playable in the browser, but I am having trouble configuring the site to provide required headers.
I'm hosting using nginx.
Can anybody help me satisfy these secure context requirements?
#Liblast #HTML5 #Godot #Nginx #JavaScript #IndieGame #IndieDev
- unfa
#Introduction time!
By day I’m a software engineer at HubSpot working on load balancing systems (#Envoy, #Nginx, #Java) and at all other times you can find me biking around the Boston area finding good eats, (rarely now) writing stories about transit for Cambridge Day (#localjournalism, #Urbanism), or taking photos (team #Fuji). I tended to be a lurker on Twitter, so I’m trying to be more active on here!
@vyr instead of many if blocks, there has to be a map you can use. Something can be done, there's cool stuff #NGINX map module [1], the following has cool stuff [2]
I can't write one right now, I'm on my phone, and my baby is asleep.
```nginx
map $http_user_agent $should_block {
default '';
'~*Pleroma' block;
'~*Soapbox' block;
# ...
}
```
1: https://nginx.org/en/docs/http/ngx_http_map_module.html
2: https://gist.github.com/ArrayIterator/a4a294b121cb8323c79748cba9968cdc