Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 
Guillaume Vincent 129c83806d update documentation 8 lat temu
conf.d add self signed certificates if no certificates provided 8 lat temu
dockersible add self signed certificates if no certificates provided 8 lat temu
tests add self signed certificates if no certificates provided 8 lat temu
.gitignore force https 8 lat temu
Dockerfile add self signed certificates if no certificates provided 8 lat temu
backend.conf.j2 simplify ssl generation 8 lat temu
entrypoint.sh add self signed certificates if no certificates provided 8 lat temu
install.py simplify ssl generation 8 lat temu
license standardization of sub modules 8 lat temu
readme.md update documentation 8 lat temu

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