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

License

This project is licensed under the terms of the GNU GPLv3.

Issues

report issues on LessPass project

Related Repositories

nginx

nginx

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http: ...

nginx-resources

nginx-resources

A collection of resources covering Nginx, Nginx + Lua, OpenResty and Tengine ...

nginx-releases

nginx-releases

* NOTE: This repository has been retired *. Complete (unofficial) history of nginx releases. Please note that this repository is unofficial and pull requests have no chance of being merged. The proper way to submit changes to nginx is via the nginx devel ...

reading-code-of-nginx-1.9.2

reading-code-of-nginx-1.9.2

nginx-1.9.2源码通读分析注释,带详尽函数中文分析注释以及相关函数流程调用注释,最全面的nginx源码阅读分析中文注释,持续更新 ...

echo-nginx-module

echo-nginx-module

An Nginx module for bringing the power of "echo", "sleep", "time" and more to Nginx's config file ...