Skip to content

Commit bc6d83e

Browse files
committed
Update README
1 parent a87512c commit bc6d83e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# nginx-proxy-subdirectory
22
A docker image based on jwilder/nginx-proxy which modifies the template to have a single host provide access to multiple containers.
3+
4+
## This image enviroment variables
5+
6+
* EXTERNAL_HTTPS_PORT: Specifies the port which is redirected to on HTTP->HTTPS redirection. Useful if behind NAT. Defaults to 443.
7+
8+
## Other container environment variables
9+
10+
* NGINX_PROXY_SUBDIRECTORY [REQUIRED]: Specifies the subdirectory to use for this container. If multiple containers have the same subdirectory, nginx will load balance those requests.
11+
* NGINX_PROXY_SUBDIRECTORY_MAP_TO_ROOT: If 0, maps /$subdir to /$subdir. If 1, maps /$subdir to /. Defaults to 1.
12+
* VIRTUAL_PROTO: Protocol to use for connection to backend container. Defaults to http.

0 commit comments

Comments
 (0)