An open API service indexing awesome lists of open source software.

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

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
```