A beautiful Next.js application to generate Nginx server configuration for your domain and port.
✨ Includes animated UI with TailwindCSS and Framer Motion.
✅ Enter a domain name and port
✅ Generate a ready-to-use Nginx configuration
✅ Copy the configuration to your clipboard with one click
✅ Smooth animations and modern design
nginx-generator/
├── app/
│ ├── globals.css # Global styles (TailwindCSS)
│ ├── layout.tsx # Main layout
│ └── page.tsx # Main page with form and generator
├── public/
│ └── favicon.ico
├── styles/
│ └── (if you add custom styles)
├── node\_modules/
├── .eslintrc.json
├── next.config.js
├── package.json
├── postcss.config.js
├── tailwind.config.js
├── tsconfig.json
└── README.md
Clone this repository:
git clone git@github.com:syedomer17/Next.js-nginx-config-generator.git
cd nginx-generatorInstall dependencies:
npm installRun development server:
npm run devVisit:
http://localhost:3000
- Enter your domain name (e.g.,
example.com) - Enter the backend port (e.g.,
5000) - Click Generate
- Copy the configuration and paste it into your
nginx.conf
- Add domain validation
- Enable HTTPS configurations
- Support multiple locations
- Save generated configs locally
Contributions, issues, and feature requests are welcome! Feel free to open a pull request.
⭐️ Star this repo if you like it!