Sign inSign up

onisuly/google-reverse-proxy

By onisuly

•Updated about 8 years ago

Google Reverse Proxy

Image
4

100K+

onisuly/google-reverse-proxy repository overview

⁠Google Reverse Proxy

Docker Build Status Docker Automated build Docker Stars Docker Pulls

This Dockerfile build an image for Nginx⁠ with capabilities of reverse proxy google.

⁠Quick Start

docker run -d -p 8080:80 --name google-reverse-proxy --restart=always onisuly/google-reverse-proxy

⁠How to use SSL/HTTPS

Suggest to use LetsEncrypt companion container for nginx-proxy⁠ to achieve this goal.

⁠How to enable password protection

docker run -d -p 8080:80 --name google-reverse-proxy \
-e SECURE=true \
-e USERNAME=your_name \
-e PASSWORD=your_password \
--restart=always \
onisuly/google-reverse-proxy

If you want to add multiple users, your can generate .htpasswd file here⁠ and mount it to your container.

docker run -d -p 8080:80 --name google-reverse-proxy \
-v /your/path/to/.htpasswd:/usr/local/nginx/conf/.htpasswd \
--restart=always \
onisuly/google-reverse-proxy

⁠Thanks:

This docker image is based on Nginx Module for Google Mirror⁠ and learns a lot from google-reverse-proxy⁠.

Tag summary

Content type

Image

Digest

Size

8.8 MB

Last updated

about 8 years ago

docker pull onisuly/google-reverse-proxy