Skip to content

allenk1/prombbq-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PROMBBQ Server

NGINX Authorization

Inside of configuration/nginx/auth run the following:

  1. Type in htpasswd -c .htpasswd <username>
  2. Enter & Confirm your password

NGINX SSL

This leverages CertBot for the SSL certificate. In order for this to work you must doing the following:

  1. Make sure DNS is setup properly to point ot your instance - certbot will use your server for validation.
  2. Update lines 23 & 24 of configuration/nginx/conf.d/prombbq.conf
ssl_certificate /etc/nginx/ssl/live/<website_fqdn>/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/<website_fqdn>/privkey.pem;

Example

ssl_certificate /etc/nginx/ssl/live/prombbq.kolbyallen.com/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/live/prombbq.kolbyallen.com/privkey.pem;
  1. Update line 99 in docker-compose.yml
command: certonly --webroot --webroot-path=/var/www/certbot --email <your-eail-address> --agree-tos --no-eff-email -d <website_fqdn> -d www.<website_fqdn>

Example

command: certonly --webroot --webroot-path=/var/www/certbot --email <your-eail-address> --agree-tos --no-eff-email -d prombbq.kolbyallen.com -d www.prombbq.kolbyallen.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published