Skip to content

Little script to generate proxy with Nginx and SSL certificates with Let's Encrypt

License

Notifications You must be signed in to change notification settings

jojosimoes/nginx-reverseproxy-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nginx ReverseProxy Creator

NginxLogo

Just a little script to create Nginx reverse proxy with SSL support. Simply run the script with or without parameters and that's all !

Installation

To start, just clone this repo to your /opt folder :

git clone https://github.com/jojosimoes/nginx-reverseproxy-creator.git /opt/nginxreverse && cd /opt/nginxreverse

Defaut Usage

By default, you can launch the script without parameters :

./nginx-reverse.sh

It will ask you some informations about domain and application server:port :

Advanced Usage

You can use parameters when launching the script. Two options are available :

  • classic : create a classic reverse proxy with HTTP support (80)
  • ssl : create an SSL reverse proxy with HTTPS (443) and auto redirection from 80 to 443

Classic Option

If you choose classic option, here an example :

./nginx-reverse.sh classic app.domain.tld localhost:8888

SSL Option

If you choose SSL reverse, you need to add your email and RSA Key Size, like this :

./nginx-reverse.sh ssl app.domain.tld localhost:8888 contact@domain.tld 2048

About

Little script to generate proxy with Nginx and SSL certificates with Let's Encrypt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages