You've already forked nginx-ubuntu
Because reading the README is faster than debugging
This commit is contained in:
36
README.md
36
README.md
@@ -5,34 +5,24 @@
|
||||
[](#)
|
||||
[](./LICENSE)
|
||||
|
||||
Automated Bash installer for **Nginx + PHP-FPM on Ubuntu 24.04 Server**.
|
||||
Tuned for production, battle-ready, and built for people who like uptime more than debugging.
|
||||
Install Nginx + PHP-FPM on Ubuntu 24.04 server.
|
||||
|
||||
This isn’t a “hello world” demo environment.
|
||||
This script builds a **real web server** — hardened, structured, and ready to host more than one weekend project.
|
||||
|
||||
---
|
||||
This is not a guide and not a toy.
|
||||
This is a production-grade installer — secure, structured, and ready for multiple applications.
|
||||
|
||||
## Why this installer exists
|
||||
Default Nginx configs become unmanageable quickly. This setup keeps things structured and predictable.
|
||||
|
||||
Because the default Nginx package leaves you with:
|
||||
## What this installer does
|
||||
✔ Creates snippet directory for modular config
|
||||
✔ Optional security and bot-blocking modules
|
||||
✔ Cloudflare Real-IP support
|
||||
✔ Requests to bare server IP return **444**
|
||||
✔ Suitable for WordPress, Gitea, Zabbix, Wiki and more
|
||||
|
||||
❌ default site you immediately disable
|
||||
❌ configs scattered like confetti
|
||||
❌ wrong IPs when behind Cloudflare
|
||||
❌ no snippet structure
|
||||
❌ caching off, security minimal
|
||||
❌ weird defaults nobody asked for
|
||||
|
||||
This script fixes that:
|
||||
|
||||
✔ Creates `/etc/nginx/nginx-snippets/`
|
||||
✔ Cloudflare Real-IP awareness
|
||||
✔ Default virtualhost returns **444** instead of smiling politely
|
||||
✔ Optional security snippets
|
||||
✔ PHP-FPM pre-wired and ready
|
||||
|
||||
You deploy once — not fight it for half a day.
|
||||
## What this installer does *NOT* do
|
||||
It won’t stop you from running the script without reading the documentation like there’s no tomorrow.
|
||||
Skip the README, and whatever happens next is your headache, not a bug report.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user