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.

readme.md 1019 B

8 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # LessPass nginx
  2. nginx container for LessPass
  3. ## custom SSL certificate
  4. change domain name in `docker-compose.yml` file
  5. replace YOUR_DOMAIN_NAME
  6. .....
  7. ports:
  8. - "8080:8080"
  9. nginx:
  10. restart: always
  11. build: ./nginx
  12. ports:
  13. - "80:80"
  14. - "443:443"
  15. environment:
  16. - domain=YOUR_DOMAIN_NAME
  17. volumes:
  18. - ./nginx/ssl:/certificates
  19. volumes_from:
  20. - backend
  21. links:
  22. - backend
  23. - frontend
  24. .....
  25. copy your private key to `ssl/YOUR_DOMAIN_NAME.key`
  26. copy your certificate to `ssl/YOUR_DOMAIN_NAME.crt`
  27. if you have extra certificate authorities, copy the file to `ssl/YOUR_DOMAIN_NAME.ca.crt`
  28. if you have a DH parameter file, copy the file to `ssl/YOUR_DOMAIN_NAME.dhparam.pem`
  29. Example if your domain is `lesspass.com`
  30. ls ssl/
  31. lesspass.com.ca.crt lesspass.com.crt lesspass.com.dhparam.pem lesspass.com.key
  32. see [LessPass](https://github.com/lesspass/lesspass) project