https://github.com/sethysatyajit/nginx-website-deployer
A professional-grade Bash script to automate Nginx website deployments from Git repositories. Perfect for quick staging/production deployments.
https://github.com/sethysatyajit/nginx-website-deployer
automation autotool cybersecurity deploy deployment devops linux nginx server shell shellscripting website
Last synced: about 1 month ago
JSON representation
A professional-grade Bash script to automate Nginx website deployments from Git repositories. Perfect for quick staging/production deployments.
- Host: GitHub
- URL: https://github.com/sethysatyajit/nginx-website-deployer
- Owner: sethysatyajit
- Created: 2025-05-01T07:25:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-01T07:32:08.000Z (about 1 year ago)
- Last Synced: 2025-10-07T08:43:32.369Z (8 months ago)
- Topics: automation, autotool, cybersecurity, deploy, deployment, devops, linux, nginx, server, shell, shellscripting, website
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ Nginx Website Deployment Script
- A professional-grade Bash script to automate Nginx website deployments from Git repositories. Perfect for quick staging/production deployments.
# โจ Features
- ๐ One-click website deployment/redeployment
- ๐งน Automatic cleanup of previous installations
- ๐ Proper permission management
- ๐ก๏ธ Error handling and rollback capabilities
- ๐ฆ Dependency auto-installation (Nginx, Git)
- ๐ฅ๏ธ Supports both HTTP and HTTPS Git URLs
# ๐ ๏ธ Installation
- git clone https://github.com/sethysatyajit/Nginx-Website-Deployer.git
- cd Nginx-Website-Deployer
- chmod +x deploy_website.sh
- sudo ./deploy_website.sh
# ๐ง Initial Setup Commands
1๏ธโฃ Clone this repository
- git clone https://github.com/sethysatyajit/Nginx-Website-Deployer.git
- cd Nginx-Website-Deployer
2๏ธโฃ Make the script executable
- chmod +x deploy_website.sh
3๏ธโฃ Run the deployment script
- sudo ./deploy_website.sh
๐ Redeployment Commands
- Just run the script again with new URL when prompted
- sudo ./deploy_website.sh
# ๐ข Thankyou:
- Happy Tech Journey ๐