Skip to content

Automatic creation of HTTPS subdomain reverse proxy using NGINX and certbot.

Notifications You must be signed in to change notification settings

SoloSynth1/instant-subdomain-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

instant-subdomain-proxy

Automatic creation of HTTPS subdomain reverse proxy using nginx and certbot.

Prerequisites

  1. A Debian-based system as the script uses apt.
  2. The subdomain's A/AAAA DNS record must be configured to be pointing to this machine.
  3. The machine must be able to receive the HTTP inbound message for certbot verification.

Usage

./create-proxy.sh {subdomain} {service-uri}

For example, let say you want to create a reverse proxy of a local service localhost:8080 to app1.example.com:

./create-proxy.sh app1.example.com localhost:8080

Acknowledgement

The script was written in inspiration from this Gist written by gmolveau.

About

Automatic creation of HTTPS subdomain reverse proxy using NGINX and certbot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages