/stargate

Mini reverse proxy with SSL encryption. Automatic gzip compression and HTTP/2 enabled out of the box.

Primary LanguageDockerfileMIT LicenseMIT

stargate

GitHub issues GitHub stars GitHub license

This mini reverse proxy docker image (based on nginx.alpine) redirects all the web traffic to specified endpoints providing SSL encryption, gzip response compression and HTTP/2 request encoding along the way. Response is equipped with certain headers for improved security. All requests over http (port 80) will be redirected to https (port 443). Load balancing will be added soon!

Installation

  1. Clone repository to your own drive:
git clone https://github.com/Mannhattan/stargate.git
  1. Put your SSL certificates in config/ssl folder.

  2. Build docker image:

docker build . -t stargate
  1. Start docker container:
docker run -d -p 80:80 -p 443:443 --name stargate stargate
  1. Voila!

License

MIT