Skip to content

Commit 9b4964c

Browse files
rriemannevertramos
authored andcommitted
allow for basic auth (#19)
nginx-proxy allows for basic auth. https://github.com/jwilder/nginx-proxy#basic-authentication-support
1 parent 4004823 commit 9b4964c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
- ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
1515
- ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
1616
- ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:ro
17+
- ${NGINX_FILES_PATH}/htpasswd:/etc/nginx/htpasswd:ro
1718

1819
nginx-gen:
1920
image: jwilder/docker-gen
@@ -25,6 +26,7 @@ services:
2526
- ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
2627
- ${NGINX_FILES_PATH}/html:/usr/share/nginx/html
2728
- ${NGINX_FILES_PATH}/certs:/etc/nginx/certs:ro
29+
- ${NGINX_FILES_PATH}/htpasswd:/etc/nginx/htpasswd:ro
2830
- /var/run/docker.sock:/tmp/docker.sock:ro
2931
- ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro
3032

0 commit comments

Comments
 (0)