Skip to content

Kenji-H/nginx-https-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-https-proxy

概要

以下の機能を docker-compose で実装したサンプルです。

  • backendにAPIサーバがいる
  • APIサーバはhttpsをサポートしていない
  • nginxをリバースプロキシにしてhttpsに対応する

実行方法

$ cd web
$ openssl req -new -days 365 -x509 -nodes -keyout cert.key -out cert.crt
$ cd ..
$ docker-compose build
$ docker-compose up

Releases

No releases published

Packages

No packages published