You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Guillaume Vincent c885735ca7 clean backend with new folder structure 8 years ago
conf.d add self signed certificates if no certificates provided 8 years ago
dockersible add self signed certificates if no certificates provided 8 years ago
tests add self signed certificates if no certificates provided 8 years ago
.gitignore force https 8 years ago
Dockerfile update nginx to 1.10.1 and open ssl 1.0.2h 8 years ago
ISSUE_TEMPLATE add issue template 8 years ago
backend.conf.j2 clean backend with new folder structure 8 years ago
entrypoint.sh add self signed certificates if no certificates provided 8 years ago
install.py simplify ssl generation 8 years ago
license standardization of sub modules 8 years ago
readme.md update documentation 8 years ago

readme.md

LessPass nginx

nginx container for LessPass

custom SSL certificate

change domain name in docker-compose.yml file

replace YOUR_DOMAIN_NAME

.....
    ports:
     - "8080:8080"
  nginx:
    restart: always
    build: ./nginx
    ports:
      - "80:80"
      - "443:443"
    environment:
      - domain=YOUR_DOMAIN_NAME
    volumes:
      - ./nginx/ssl:/certificates
    volumes_from:
      - backend
    links:
      - backend
      - frontend
.....

copy your private key to ssl/YOUR_DOMAIN_NAME.key copy your certificate to ssl/YOUR_DOMAIN_NAME.crt

if you have extra certificate authorities, copy the file to ssl/YOUR_DOMAIN_NAME.ca.crt if you have a DH parameter file, copy the file to ssl/YOUR_DOMAIN_NAME.dhparam.pem

Example if your domain is lesspass.com

ls ssl/
lesspass.com.ca.crt  lesspass.com.crt  lesspass.com.dhparam.pem  lesspass.com.key

see LessPass project