Sign inSign up

slidewiki/webproxy

By slidewiki

Updated almost 8 years ago

A customized version of jwilder/nginx-proxy.

Image
1

1.3K

slidewiki/webproxy repository overview

SlideWiki Web Proxy

This Docker image is based on nginx-proxy. It adds a maintenance command that allows for temporarily activating an nginx configuration that redirects all requestes to a maintenance info page.

Switch to maintenance mode: docker exec webproxy maintenance on

Switch to normal operation: docker exec webproxy maintenance off

Additional to the sharing the host's Docker socket for docker-gen the BASENAME environment variable has to be set to the base domain name of the instance.

Example:

docker run -d --name proxy -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro -e BASENAME=slidewiki.org slidewiki-webproxy

Info Page Content

The content of the info page can be customized by mounting a directory with custom content into /usr/share/nginx/html/maintenance. Note that the maintenance configuration redirects to index.html.

Tag summary

Content type

Image

Digest

Size

54.7 MB

Last updated

almost 8 years ago

docker pull slidewiki/webproxy