Skip to content

ef1f/HttpsToHttpProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Https to http nginx reverse proxy

Build image

docker build -t image_name:latest .

Run

docker run -d -e ENV_PASS_HOST=you_http_service:port -e ENV_CRT_NAME=you_file_name.crt -e ENV_KEY_NAME=you_file_name.key -v your_certificates_folder_path:/certificate -p proxy_port:443 --name reverse_proxy ef1f/https-to-http-proxy:latest

Compose file

version: '2'

services:
  you_http_service:
    image: http_service_image
    ports:
      - "8081:8080"
 
     
  https-to-http-proxy:
    image: ef1f/https-to-http-proxy:latest
    ports:
      - "8088:443"
    volumes:
      - /your_certificates_folder_path:/certificate     
    environment:
      - ENV_PASS_HOST=you_http_service:8080
      - ENV_CRT_NAME=you_file_name.crt 
      - ENV_KEY_NAME=you_file_name.key 
    depends_on:
      - you_http_service

The folder with certificates must contain two files .crt and .key

About

Https to http nginx reverse proxy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors