This commit is contained in:
parent
b51814bba8
commit
5eb05fcdc4
14
Dockerfile
14
Dockerfile
@ -13,14 +13,14 @@ RUN tar -zxvf nginx-*.tar.gz
|
||||
RUN git clone https://github.com/aperezdc/ngx-fancyindex.git ngx-fancyindex
|
||||
|
||||
# Build Nginx from source
|
||||
RUN cd nginx-*
|
||||
WORKDIR /tmp/nginx-*
|
||||
RUN ./configure --prefix=/usr/local/nginx \
|
||||
--sbin-path=/usr/local/sbin/nginx \
|
||||
--conf-path=/etc/nginx/nginx.conf \
|
||||
--error-log-path=/var/log/nginx/error.log \
|
||||
--http-log-path=/var/log/nginx/access.log \
|
||||
--with-http_ssl_module \
|
||||
--add-module=../ngx-fancyindex
|
||||
--sbin-path=/usr/local/sbin/nginx \
|
||||
--conf-path=/etc/nginx/nginx.conf \
|
||||
--error-log-path=/var/log/nginx/error.log \
|
||||
--http-log-path=/var/log/nginx/access.log \
|
||||
--with-http_ssl_module \
|
||||
--add-module=../ngx-fancyindex
|
||||
|
||||
RUN make
|
||||
RUN make install
|
||||
|
Loading…
Reference in New Issue
Block a user