sinatra and nginx client cert authentication setup, repository for a follow-along of a guide at https://www.integralist.co.uk/posts/client-cert-authentication/
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.

21 lines
576B

  1. version: '3.3'
  2. services:
  3. ruby:
  4. container_name: app
  5. image: integralist-ruby
  6. ports:
  7. - 4567:4567
  8. nginx:
  9. container_name: nginx
  10. image: integralist-nginx
  11. volumes:
  12. - ./html:/usr/share/nginx/html
  13. - ./nginx/cert-mng/server.crt:/etc/nginx/certs/server.crt
  14. - ./nginx/cert-mng/private/server.key:/etc/nginx/certs/server.key
  15. - ./nginx/cert-mng/ca.crt:/etc/nginx/certs/ca.crt
  16. - ./nginx/cert-mng/revoked/crl.pem:/etc/nginx/certs/crl.pem
  17. - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  18. ports:
  19. - 80:80
  20. - 443:443