r/nginx • u/freddyr0 • Jun 06 '25
Is it ok to suggest a new initial nginx landing?
I was bored and created a new one for all our nginx server templates. The header shadow background is css animated and stuff.
r/nginx • u/freddyr0 • Jun 06 '25
I was bored and created a new one for all our nginx server templates. The header shadow background is css animated and stuff.
r/nginx • u/trettet • Oct 22 '25
The state-backed hackers who breached cybersecurity company F5 Inc. broke in beginning in late 2023 and lurked in the company’s systems until being discovered in August of this year, according to people who were briefed by F5 about the incident.
The attackers penetrated F5’s computer systems by exploiting software from the company that had been left vulnerable and exposed to the internet, according to the people. F5 told customers that the hackers were able to break in after the firm’s staff failed to follow the cybersecurity guidelines it provides customers, said the people, who spoke on the condition that they not be identified because they were not authorized to discuss the matter.
A spokesperson for F5 declined to comment.
r/nginx • u/doitstuart • Jan 03 '20
r/nginx • u/Calm-Breath245 • Aug 13 '25
There's a blog up on the new NGINX module, ngx_http_acme, which provides directives for requesting, installing and reviewing certs from NGINX configurations. Step-by-step guidance, simple workflow.
Check it out! blog.nginx.org/blog/native-support-for-acme-protocol
r/nginx • u/gilbn • Sep 10 '26
Wanted to share an app I've been working for the last couple of months now.
It reads nginx JSON access logs and gives you a live map of where requests are coming from, plus some stats and searchable logs.
You can also click into an IP and see what it’s been hitting, paths, user agents, status codes etc.
There’s CrowdSec integration as well if you use that.
CrowdSec integration | GeoMetrikks
Multi-source setup | GeoMetrikks
Real client IP behind a proxy | GeoMetrikks
Couple of features:
Live request map
Multi-source support
Search/filter access logs
Click into an IP and see what it’s been hitting
Traffic stats, status codes and response times
CrowdSec integration
Docker Compose setup
Self-hosted and open source
r/nginx • u/Zidichy • Aug 13 '19
Hi everyone, i originally wrote my guide in swedish.
But i wanted to translate it into english so that more people can benefit from my guide :)
I have for a long time been thinking about giving out a detailed guide,
On how to generate Let's Encrypt SSL certificate on windows, and how to fully secure nginx, and put it in Reverse Proxy with Cloudflare CDN.
I choose to release my guide, because i want to share my knowledge, and help others who have problem getting their nginx server working properly.
I know I had hard time getting everything working when I first started 😋
What I found online, was lots of people combining linux and windows config for nginx.
Inaccurate information, outdated videos, and a lot of guides that just did not work as intended.
I promised myself that if i ever got everything working on windows, with a flawless config that suited my needs.
I would create a detailed and fully working guide for everyone who wants to use windows as their main OS for their site.
And since there are many people who prefer to use windows as their main OS for their web server, this guide will be the only guide you will ever need :)
** I had no idea there was a limit on reddit to max add 20 images in one post 😕 **
**So some of the images was replaced with imgur links instead **
This guide will consist of.
- What software you should be using.
- Complete configuration for nginx in reverse proxy.
- Complete configuration for SSL & auto redirect to https://
- How to generate Let's Encrypt, SSL certificate on Windows.
- How to register free domain, & connect it to Cloudflare CDN.
- And more 😊
Guide Start:
If you have these programs, good!
If you don't ? then download.
Download 7-zip will be used for unpacking. (select 64bit)
Download Notepad++ will be used for config. (select 64bit)
Download Nginx <- Select Legacy version nginx / Windows-1.14.2
Download Let's Encrypt (PKISharp / win-acme) (Higher version available, I prefer v1.9.12.1)
Download .NETframworks latest <--- Direct link
Download Nssm you should have nssm 2.24 (2014-08-31) <--- Direct link
Download Php Here you can choose from a few, for example Non Thread Safe or Thread Safe*
( What's the difference between non thread safe & thread safe? Simply google it* ) 🙂
I chose was **VC15 x64 Thread Safe (2019-Feb-06 02:14:58)**
Download VC CRT 14 (Visual Studio 2015) if you haven't already. (This is required for php 7.x to work)
**Make sure your Windows is up to date and you have the latest updates!**
Folders in C:
Navigate to C:\
And create 4 folders,
nginx, Letsencrypt, php, & www
When done should look like this.

unzip the contents of nginx-1.14.2.zip to C:\nginx
unzip the contents of php-7.3.2-Win32-VC15-x64.zip to C:\php
We're going to use the "www" folder to host our site, instead of "html" folder which is the default for nginx.
Navigate to C:\nginx\conf
and open up nginx.conf in notepad++ and go down to line 44, change from html to www > save.
Navigate back to C:\
unzip win-acme.v1.9.12.1.zip to C:\Letsencrypt
Should look like this.

unzip the contents of nssm-2.24.zip to C:\Windows
(If you have a 64bit OS choose win64, if you have 32bit OS choose win32)
Should look like this.

Windows Services.
We need to create 2 new services in windows, 1 for nginx and the other for php.
We do this by typing the following command in cmd.
Type following command in cmd, see image below.

Type following command in cmd, see image below.

When done it's going to looks like this when the services are ready and working.

Configure PHP.
Navigate to C:\nginx\php and copy "php.ini-development" then rename it to php.ini
windows will ask if you want to change the file extension, press yes.
Now open php.ini with notepad++ navigate down to line 905 remove ; like i have in the image below.
(Ignore the blue balls, I added them so you would't miss where to change!)

Save your php.ini after making these changes.
There is more you can do in php.ini but nothing you need to do now.
Alternatively, you can use my php.ini file I uploaded to my github,
(It's a little different than the standard, but both work, up to you!)
github.com/Zidichy/php.ini
Now navigate to 127.0.0.1 in the browser
When everything works, it will look like this.

Port forwarding.
( A public IP is a required in order for this to work! )
To open port 80 & 443 log into your router and go to the portforward section. (Port Forwarding)
Navigate to,
Control Panel\Network and Internet\Network and Sharing Center\change adapter settings > Network Connection Details >
right-click your network > status > Details > IPv4 Default Gateway
This is the address you enter to access your router interface.
In my home i have A class network address 10.0.0.1
But most people have C class, 192.168.0.1 or 192.168.1.1

You can also check with cmd, just type ipconfig in cmd.

Here you can see what my port config looks like.

To checks if your port are open.
https://portchecker.co/
Domain & SSL.
Navigate to dot.tk and create a domain,
dot.tk domains are completely free for 1-12 months :)
https://i.imgur.com/GDwavmP.png
I just created a temporary domain jasmyn.tk
It will be inactive after 30 days as i only choose 1 month.
Why jasmine? Just a random name ^^ ~> https://www.name-generator.org.uk/ 😋😊
When you have picked your domain name, press next, at checkout, add your information as I have & click on complete order.
https://i.imgur.com/YXkG89d.png
Add your public IP, then click continue.

Navigate to Cloudflare.com create account and log in.
Add your domain from dot.tk > add site> then select "Free" under "Select a plan" > Confirm plan.

Click DNS after cloudflare has completed its scan.
Enter your domain and your IP number as I did in the picture below.

If you want www. add it as an A record (A Type) in cloudflare's DNS,
I choose not to use www. as it is a subdomain and i simply did not want it, most people just want their apex anyways 😊

Further down under DNS where it says Cloudflare Nameservers
copy both NS from cloudflare and then return to freenom.com
Then navigate to> Services> My Domains> Manage Domain> Management Tools> Nameservers
And add the NS as I did in the picture below.

Back to freenom | Navigate to> Services> My Domains> Manage Domain> Manage Freenom DNS | and delete the IP that we added at the beginning.
https://i.imgur.com/ovreu9s.png
When cloudflare is done you will receive mail that looks like this.
https://i.imgur.com/FiQYb7Y.png
There are lots of settings you should change in cloudflare but for now head over to Crypto > and set SSL to Full (strict)
https://i.imgur.com/Wx2FX52.png
You can now close freenom.com as everything is managed from cloudflare.com
& in the image below you can see that cloudflare now takes care of ssl on jasmyn.tk
https://i.imgur.com/DkODaqi.png
If you feel like buying a real domain then I recommend one.com
their support is excellent & i currently have a domain from one.com
But this guide is not advertisement for one.com
This guide is intended to help anyone who wish to host a site with SSL, nginx on windows.
If you already have a domain and want to point it from your web host to your server, I can help you out with that.
Now to Let's Encrypt.
Why generate your own SSL if we now have SSL from cloudflare?
Because of applications like, plex, tautulli, sonar, ect these programs require that you have your very own SSL certificate if you want everything to work!
And a reverse proxy would not work with SSL without its own certificate.
Navigate to C:\Letsencrypt> open letsencrypt.exe as administrator
and use the same options as I do in the image below, replace my temp domain with your FQDN.
If a request pops up and asks for an email, enter one that you want to use. (you usually go with [email protected])
It's up to you if you want to put renewal as a task, I do recommend this.
(Requires, however, that you have a password on your windows system, and not a direct login.)

Important to mention is that you need to add www. as a subdomain when generating their ssl certificate
if you want www.mydomain.com to work, not just in cf as they require an A / CNAME record.
Once you have generated your SSL cert from Let's Encrypt,
navigate as I did in the image below, and verify that the files are there!

Nginx conf.
Now that we have gotten this far, we need to change the configs for nginx.
Go to zidichy.github
Download all .conf click the green button (clone or download) > select download zip
When the zip is downloaded, pull everything out on the desktop.
Move the site-confs & proxy-confs folder to C:\nginx\conf
Move the .conf files from the zip in the Server-master\nginx folder to C:\nginx\conf folder
Open > site-confs > domain.conf > edit in notepad++ & change where it says domain.com to your domain
Go to > conf> strongSSL.conf > edit in notepad++ change where it says domain.com to your domain,
you also need # the headers who have "report" in the string unless you register at report-uri.com
When done, you can test the config by running a nginx -t in cmd, see image below.
And then a nssm restart nginx to make sure nginx reloads all settings :)
To start nginx via cmd type nssm start nginx
To stop nginx via cmd type nssm stop nginx
To start php via cmd type nssm start php
To stop php via cmd type nssm stop php
Same thing with restart nginx & php like so,
nssm restart nginx
nssm restart php

Done! 😋
Other Info.
So how does Reverse Proxy work?
I do believe Spaceinvader One put it best.
But for those of you who missed the video were he explained it in, here is my explanation.
A reverse proxy allows you to access local applications over the Internet even though they are behind your local firewall.
the proxy forwards the actual request to the server to which the application itself is connected,
and gives you access to the application via internet. We then force the applications to go through port :443 (SSL <~> HTTPS://)
Which means that all traffic going to and from the application is encrypted.
More info here https://www.cloudflare.com/learning/cdn/glossary/reverse-proxy/
Navigate to C:\nginx\proxy-confs\ > here you will find all my .confs for different services, such as plex, sonar, tautulli, etc.
You may need to open up port 32400 for plex, if something isn't working.
If you want another application to run in reverse proxy other than what is in my proxy-confs, you need to create a .conf and add the correct code.
I am planing to create a video guide where I do everything in this guide.
This is to make it even easier for anyone who wants a secure nginx server with ssl, reverse proxy & CDN!
Hope this guide helped someone.
This guide was fun to make & it took awhile to create ^^ a few hours to be more precise😋
Would love to hear what you guys think about my guide :)
What could I have done better?
Was something in the guide unclear?
------------------------------------------------------>
Some Q&A.
Q1: Why create this for windows and not linux?
A1: Because there are already so many different guides out there on the net / youtube for nginx on linux,
besides nginx works very good on windows if you have everything set up correctly. Also not everyone feels comfortable in a linux environment.
And those who choose and stay in a windows environment, but still want a very secure site, should be able to have that!
Q2: Why use Windows 7 instead of Windows 10 / Windows Server?
A2: Because Windows 7 is stable, simple to secure, resource-efficient, very similar to windows server 2008,
and more people have windows 7 licenses than people who have windows server licenses.
Other than that, older machines have guaranteed drivers for windows 7, but maybe not for windows 10.
Besides this guide works perfect on windows 7, windows server, windows 10 (All versions)
Q3: Why so much security? Is't it enough with standard ssl from LE?
A3: First, it's up to each everyone to decide how much security they want.
But for me, I want as much as i can get, the more security the better.
Unfortunately, it is not enough with just with regular SSL nowadays as I know how much damage you can do by just getting hold of the server's IP,
and check what kind of subdomains the domain has and what headers the web server allows.
Many sites lack for example, protection against hammering login portals. (brute forcing)
Having poor security on my web server is not something I want, as it is connected to a large amount of data I own.
Q4: Where's the VPN?
A4: This guide is meant to be currency free, the only cost here is time, a good VPN provider cost money.
But i do have a VPN for my domain. I use AzireVPN.
Q5: Where is Fail2Ban?
A5: Very hard to get working on windows ^^ and I now use unRaid so I have f2b installed :)
But if you still want f2b for windows, try wail2ban, which is a port of fail2ban for windows!
When I still used windows i had 2FA (Two-factor authentication) on my site, & when logged in,
i had every user set to different level, Organizr is very secure. 😋
https://i.imgur.com/YIH9oui.png
Q6: Why put nginx in reverse proxy?
A6: Because of the high security it gives. To only open 2 ports in the router (80 & 443) and send everything through port 443 which is encrypted,
gives you and all the applications you want available outside your local lan very high security,
and if you add errorpages, HTTP Authentication & Cloudflare CDN HTTP Proxy, you are making it virtually impossible for
anyone without the correct authorization to access your applications you have connected to your site.
As far as i know it's not even possible ;) This is what happens if you try.
https://i.imgur.com/oTWVvYy.png
In order to use HTTP authentication with my config you're required to run Organizr
But it is possible to configure so that Organizr uses e.g. Wordpress or GRAV as the main template.
(You can use HTTP authentication *outside of Organizr, but you need to change the config and download other files.)
So where is the HTTP authentication?
It is located in C:\nginx\auth.conf and is linked to errorV2.conf which in turn is linked to Organizr :)
To get it working all you have to do is install Organizr 😋
And to do that, all you need to do is to download the .7z file from Organizr's github, unzip the contents and move it to the
root dir of nginx the www folder @ C:\nginx then start the installation process 😊
*****
In the future i plan to create more guides, including a guide on how to fully secure your windows OS, when using it as a server for your site.
Extra info.
So I don't forget,
My config is configured in such a way that google and other search engines can't index the site.
Bots & Crawlers cannot index the site, so you have to change that if you now want it available for SEO.
All headers in my config are configured for high security!
Meaning! | Allow-Origin-Access-Control-Only ~> your domain!
Scan Reports from
securityheaders.com & immuniweb.com/websec
(This is what my nginx config provides when everything is ready!)
https://i.imgur.com/okEsqil.png
https://www.immuniweb.com/websec/?id=KjpVlv4P
https://i.imgur.com/fJnpPQd.png
https://securityheaders.com/?q=https%3A%2F%2Fjasmyn.tk&followRedirects=on
*****
Now finally.
If anyone would like to improve on my windows config please do so, feel free to edit / fork it as much as you want.
But please inform others what improvements was done to the code and why, so that others can benefit as well :)
This guide was written & created by me Zidichy / xTL
All configuration happened on my Windows 7 VM 🙂
But was written on my primary system, Win10 😋
If you have any questions feel free to send me a pm on any platform, or simply comment on reddit :)
** Well one last thing 😋😊 **
I guess some or all? wonder why I show the IP that I use in my guide.
I do this because the IP belongs to AzireVPN.
It's just a random IP that I got from AzireVPN So I don't mind showing the it :)
This is something that many who create guides online avoid showing. I realize this + I understand why.
But I did not want to hide the IP and I solved it like this instead :)
https://check-host.net/ip-info?host=193.183.116.88
https://ipx.ac/193.183.116.88
Discord & other Info.

The guide was written on February 8, 2019 but was not published until August 9, 2019.
**Contents of the guide was slightly altered from the original**
~ Fin
r/nginx • u/obayed_opu • May 06 '26
Learn Nginx from the ground up with this complete guide and cheatsheet. From installing the latest version to configuration, security, and performance optimization.
r/nginx • u/Kailuaboys • Aug 16 '17
r/nginx • u/OilOverall4190 • Aug 14 '26
Hello all,
If you do bug bounty hunting or pentests you surely came across many hosts served from an NGINX server, in this lab (published to OWASP) I combined over 20 misconfigurations found in real world bug disclosures and both classic and novel security research, with an extensive blog where I explained everything you need to level up your NGINX hunting game.
Feel free to check it out, give it a star on Github if you like it, and suggest any ideas you want me to add/fix...
https://vwad.owasp.org/app/damn-vulnerable-nginx-proxy-dvnp/
Happy hunting!
r/nginx • u/JadeLuxe • Aug 13 '25
r/nginx • u/cinwald • Sep 01 '24
rustinx.com - Available for Mac and Linux
Intuitive Dashboard: Monitor CPU, RAM, and active connections in real-time. Real-Time Logs Viewer: Stream and search access and error logs directly from the dashboard. Easy Configuration Management: Edit and validate Nginx configurations with ease. One-Click Nginx Actions: Restart, stop, or reload your server with a single click.
Feedback welcome!
Source Code (Built with Rust and React): https://github.com/charlesinwald/rustinx-react
r/nginx • u/thirstycamelT • Apr 21 '21
So I've been building software for 10 years, but dev ops is something I've never done aside from basic AWS config. I'm currently building a MVP in React NextJS which is deployed on Vercel, but I also want the static site hosted there with the app started at /login (hopefully this makes sense).
E.g., Static site: example.com/landingage, example.com/faqs etc
Web app: example.com/dashboard, example.com/login etc
I've read nginx could be used as a reverse proxy or to redirect based on port. I have NO idea how any of this will work and frankly I'm a little more than concerned.
The database will probably be on Supabase or RDS and front-end/backend on Vercel.
How would I configure the site and web app to run separately on the same domain? My apologies if this is a bread and butter question, but I'm pretty worried about this and don't want to spend weeks and week getting it set up. I'll learn a lot from doing it at the very least.
Thanks all!
r/nginx • u/dready • Apr 15 '26
There are a bunch of improvements:
Keepalive to upstreams is now on by default
HTTP/2 support for backend upstreams added
Encrypted Client Hello (ECH) support
Sticky sessions support for upstreams open-sourced
The default proxy HTTP version is now set to HTTP/1.1 when Keep-Alive enabled
r/nginx • u/[deleted] • Jun 04 '26
On June 3, 2026, researcher Quang Luong published a remote denial-of-service exploit called the HTTP/2 Bomb that can exhaust tens of gigabytes of server memory using nothing more than a home internet connection.
Details: https://blog.kalfaoglu.net/posts/2026-06-04-cve-2026-49975-http2-bomb-en/
r/nginx • u/valentinxx • Jan 21 '18
r/nginx • u/bastakka • Jun 20 '21
Hi guys!
I spent the last two days trying to make the most modern nginx configuration on my server. One of the obstacles I encountered was http3 support on which I spent more time than I want to believe.
I stumbled upon this nginx autoinstall script which was really helpful and made everything about 1000 percent easier. It builds nginx with only the things you want and it has some more features. One of the options is http3 support which is provided by boringssl and quiche from Cloudflare. The thing is that the nginx version higher than 1.16 is going to error out when installing http3 because Cloudflare is not patching their implementation for higher versions of nginx.
I found a patch online for that and forked the original script to automatically apply it and now you can use this script even for the lastest nginx to support http3 until nginx-quic will actually have a normal release so you can use it. The link for my fork is here: https://github.com/bastakka/nginx-autoinstall.
You can use this script to just update your nginx as it will not overwrite your .confs.
The original author did a pretty good job and offers even an http3 configuration example which should look like this.
server {
# Enable QUIC and HTTP/3
listen 443 quic reuseport;
# Enable HTTP/2 (optional)
listen 443 ssl http2;
ssl_certificate cert.crt;
ssl_certificate_key cert.key;
# Enable all TLS versions (TLSv1.3 is required for QUIC)
ssl_protocols TLSv1.2 TLSv1.3;
location / {
# Add Alt-Svc header to negotiate HTTP/3
add_header alt-svc 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"';
}
}If you want to host more than one http3 enabled server, remove the reuseport option on every server after the first one or you will get an nginx error because of a duplicate listener.
I hope I help at least someone with this as I spent an absurd amount of time on this which I would like to save you.
r/nginx • u/Krisselak • Jan 11 '23
I thought (and parts of me still do) it's 'ntchinx'.
r/nginx • u/finalyxre • Mar 21 '26
Hi everyone, I'm a college student and I've created this open-source mobile app with 9 services (Portainer, Beszel, Pi-Hole, JellyStat, etc., but especially Nginx proxy server).
Link: https://github.com/JohnnWi/homelab-project
With the integration for the Nginx proxy server, you can perform all your operations directly through the mobile app instead of via a web page. I have personally tested all the features, and there are no issues.The app is available for both Android and iOS (for iOS, use AltStore/SideStore or a plain IPA file).
I hope you like it, as it’s very helpful. I also want to explicitly mention that I used artificial intelligence to help me!
Let me know what you think, and please try it out before judging. You don’t need to install anything on your servers!
r/nginx • u/TomatoDev • Aug 12 '25
Hey guys, I’ve been messing around with tightening security on my self-hosted sites, and I came across this small open source project called nginx-defender.
It basically tails your NGINX access logs in real time, looks for suspicious behaviour (like too many requests in a short period or exploit-looking payloads), and automatically adds the offending IPs to your deny list, no big config or fail2ban setup needed.
I dropped it onto one of my servers, and within a couple of hours it had already blocked a bunch of random bots hammering my login page. It’s lightweight, doesn’t need a bunch of dependencies, and just runs alongside your NGINX setup.
GitHub link if anyone wants to try it:
--> https://github.com/anipaleja/nginx-defender
Curious, what’s everyone else here using for lightweight NGINX security? Any other tools worth checking out?
r/nginx • u/aaronpk • Aug 30 '18
r/nginx • u/[deleted] • Jun 21 '22
I just saw that pages which use nginx are down.Any news/updates?
Edits -
Ok so back to normal ppl. Just comment about the bug/prob/solution cause this was too weird
Ok so if u guys use vpn try it ? a maybe solution . from discordstatus.com

Doesnt this seem weird to ya all that all websites using nginx crash at the same time?Ok so cloudfare is also down. It might be that.Ok guys just used a cloudfare website and its on.Prob definitely nginx .site - medium.com May be Im wrong idk
sometimes medium.com shows 500 error and soetimes it works. Idk whats special about it
Ppl in comments have confirmed that nginx is showing error 500
For Ppl who dont know nginx is In simplicity its like chrome except it hosts the sites