Skip to content

A simple script to provision NGINX with a self-signed SSL certificate on a Ubuntu 14.04 box.

Notifications You must be signed in to change notification settings

adelevie/nginx-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX-SSL

A simple script to provision NGINX with a self-signed SSL certificate on a Ubuntu 14.04 box.

Basic usage: sudo bash bootstrap.sh

Command line switches are optional. The following switches are recognized.
-d          --Sets whether SSLMate is used. Default is off.
-p [PORT]   --Sets the value for port used for the application. Default is 5000.
-s [SERVER] --Sets the value for the server name. Default is the IP address.
-h  --Displays this help message. No further functions are performed.

Example: sudo bash bootstrap.sh -d -p 4567 -s test.example.com

To execute:

# wget https://esq.io/nginx-ssl.tar.gz
# tar -xfz nginx-ssl.tar.gz
git clone https://github.com/vzvenyach/nginx-ssl.git
cd nginx-ssl
sudo ./bootstrap.sh
sudo service nginx restart

About

A simple script to provision NGINX with a self-signed SSL certificate on a Ubuntu 14.04 box.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages