Skip to content

CoderLovely08/nginx-setup-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 Nginx Domain Setup Generator

A clean and intuitive web-based tool that generates all the necessary commands and configuration files to set up Nginx as a reverse proxy for any backend application β€” including optional SSL setup using Certbot.


🌐 Live Demo

πŸ‘‰ nginx-setup-tool.vercel.app

Demo Image


πŸš€ Features

  • 🧠 Automatic Nginx command generator β€” no need to remember syntax
  • βš™οΈ Step-by-step guide β€” covers installation, configuration, and SSL setup
  • πŸ”’ Free SSL with Certbot β€” generate ready-to-run commands
  • πŸ“‹ One-click copy β€” easily copy any command block
  • πŸ’» Works for any backend β€” Node.js, Flask, FastAPI, Django, Go, PHP, etc.
  • 🧾 Responsive & beginner-friendly UI

🧱 How It Works

  1. Enter your domain or subdomain (e.g. api.example.com)
  2. Enter your application port (e.g. 4000)
  3. Click β€œGenerate & Update Commands”
  4. Copy and execute the commands on your Linux server

You’ll get:

  • βœ… Nginx installation commands
  • βœ… Configuration setup instructions with a generated config file
  • βœ… SSL setup commands (Certbot)

πŸ“– Documentation

Detailed setup instructions: πŸ‘‰ Nginx Server Setup Guide


🧰 Tech Stack

  • HTML5
  • CSS3
  • Vanilla JavaScript

No dependencies or frameworks β€” just open and use it.


πŸ› οΈ Run Locally

# Clone the repository
git clone https://github.com/your-username/nginx-setup-generator.git

# Go to the folder
cd nginx-setup-generator

# Open in browser
open index.html

πŸͺ„ Example Output

Example Nginx config for a backend running on port 4000:

server {
    listen 80;
    server_name api.example.com;

    location / {
        proxy_pass http://localhost:4000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

✨ Credits

Developed with ❀️ by Lovely Sharma


πŸ“œ License

Licensed under the MIT License β€” free to use, modify, and share.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages