Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 933 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 933 Bytes

Root Nginx

Clone Repo

git clone https://github.com/appzic/root-nginx.git

Up Root Nginx

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:

sh rootnginx.sh init

And answer the questions

Make HTTPs connection.

A few minutes later, go the 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:

sh rootnginx.sh ssl

And answer the questions

Setup Nginx reverse proxy with HTTPs

sh rootnginx.sh rp

And answer the questions

Update All SSL certificates.

sh rootnginx.sh update