Skip to content

Commit 071e72b

Browse files
committed
Merge pull request dockerfile#6 from dimroc/master
Added /etc/nginx/conf.d to docker volumes for .htpasswd files
2 parents 6bfe874 + 4b8f29c commit 071e72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN \
1616
chown -R www-data:www-data /var/lib/nginx
1717

1818
# Define mountable directories.
19-
VOLUME ["/data", "/etc/nginx/sites-enabled", "/var/log/nginx"]
19+
VOLUME ["/data", "/etc/nginx/sites-enabled", "/etc/nginx/conf.d", "/var/log/nginx"]
2020

2121
# Define working directory.
2222
WORKDIR /etc/nginx

0 commit comments

Comments
 (0)