https://github.com/appzic/root-nginx
This utility use to mange revers proxy and SSL certifications for domain names
https://github.com/appzic/root-nginx
docker lets-encrypt nginx reverse-proxy ssl-certificates
Last synced: about 2 months ago
JSON representation
This utility use to mange revers proxy and SSL certifications for domain names
- Host: GitHub
- URL: https://github.com/appzic/root-nginx
- Owner: appzic
- Created: 2024-04-20T17:16:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T07:32:25.000Z (about 2 years ago)
- Last Synced: 2025-05-10T20:01:52.166Z (about 1 year ago)
- Topics: docker, lets-encrypt, nginx, reverse-proxy, ssl-certificates
- Language: Shell
- Homepage: https://appzic.com/open-source-projects/root-nginx
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Root Nginx
## Clone Repo
```bash
git clone https://github.com/appzic/root-nginx.git
```
## Up Root Nginx
```bash
cd root-nginx
docker compose up -d
```
## Make HTTP connection
First, go to your DNS provider and create an `A Recode` for the domain or subdomain to point to the server's IP address.
Use following command to configure HTTP for the Nginx server:
```bash
sh rootnginx.sh init
```
And answer the questions
## Make HTTPs connection.
A few minutes later, go the [https://www.whatsmydns.net/](https://www.whatsmydns.net/) website and check wether DNS are successfully propegated or not.
If DNS successfully propergated, use following command to run certbot and configure HTTPS for Nginx server:
```bash
sh rootnginx.sh ssl
```
And answer the questions
## Setup Nginx reverse proxy with HTTPs
```bash
sh rootnginx.sh rp
```
And answer the questions
## Update All SSL certificates.
```bash
sh rootnginx.sh update
```