您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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