Skip to content

Reverse proxy that allows enabling the HTTPS protocol using the free certificates offered by https://letsencrypt.org/ through its certbot tool.

Notifications You must be signed in to change notification settings

azinformatica/ssl-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSL Proxy

Reverse proxy that allows enabling the HTTPS protocol using the free certificates offered by https://letsencrypt.org/ through its certbot tool.

Get Started

The easiest way to use this docker image is to set up a docker-compose. To do this, just enter the following environment variables:

  • PROXY_DOMAIN : Enter the domain the proxy will respond to.
  • PROXY_EMAIL : Email used in the registry of letsencrypt required to get the free certificate.
  • PROXY_PASS : Server to which the proxy will pass the requests.

Then, if you want to save the certificates (highly recommended), simply map the volumes:

  • /etc/letsencrypt
  • /etc/ssl

docker-compose.yml

version: '3'
services:
  myproxy:
    image: azinformatica/ssl-proxy
    ports:
      - "80:80"
      - "443:443"
    environment:
      - PROXY_DOMAIN=rapizap.com
      - PROXY_EMAIL=myemail@gmail.com
      - PROXY_PASS=myapp
    volumes:
      - "./mybackup/letsencrypt/:/etc/letsencrypt/"
      - "./mybackup/ssl/:/etc/ssl/"
    networks:
      - mynet
  myapp:
    image: nginx:alpine
    networks:
      - mynet
networks:
  mynet:

Finally, do not forget to release ports 80 and 443.

About

Reverse proxy that allows enabling the HTTPS protocol using the free certificates offered by https://letsencrypt.org/ through its certbot tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published