Sign inSign up

shroomlife/docker-https-proxy

By shroomlife

•Updated over 1 year ago

a simple container to proxy requests to your containers

Image
Networking
2

10K+

shroomlife/docker-https-proxy repository overview

⁠Easy Docker HTTP(s) Proxy Build Status

This is an easy to use HTTP(s) proxy for your docker containers that you can use to have multiple containers running on a single machine and to proxy requests among those containers.

⁠Prerequisites

⁠Getting Started

⁠Using Docker Hub
docker run --name=proxy -d -p 80:80 -p 443:443 shroomlife/docker-https-proxy:latest

🐳 https://hub.docker.com/r/shroomlife/docker-https-proxy⁠

⁠Using Docker Compose

Use the following example docker-compose.yml file.

version: '3.3'
services:
  proxy:
    container_name: proxy
    image: shroomlife/docker-https-proxy:latest
    ports:
      - "80:80"
      - "443:443"
  webserver:
    container_name: example.com.proxy
    image: httpd:latest

When your server with docker is contacted at example.com all requests will be proxied to your custom container on port 80.

Tag summary

Content type

Image

Digest

sha256:090befd6c…

Size

55.8 MB

Last updated

over 1 year ago

docker pull shroomlife/docker-https-proxy