Guillaume Vincent ed80a2f892 | pirms 8 gadiem | |
---|---|---|
conf.d | pirms 8 gadiem | |
dockersible | pirms 8 gadiem | |
tests | pirms 8 gadiem | |
.gitignore | pirms 8 gadiem | |
Dockerfile | pirms 8 gadiem | |
LICENSE | pirms 8 gadiem | |
backend.conf.j2 | pirms 8 gadiem | |
entrypoint.sh | pirms 8 gadiem | |
install.py | pirms 8 gadiem | |
readme.md | pirms 8 gadiem |
nginx container for LessPass
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
This project is licensed under the terms of the GNU GPLv3.
report issues on LessPass project