Skip to content
Snippets Groups Projects
Commit e13a2e24 authored by Francesco Giacomini's avatar Francesco Giacomini
Browse files

Forward request and error logs to docker log collector

parent 60985fe8
No related branches found
No related tags found
No related merge requests found
Pipeline #161324 passed
...@@ -22,7 +22,10 @@ COPY artifacts/*.rpm /pkgs/ ...@@ -22,7 +22,10 @@ COPY artifacts/*.rpm /pkgs/
COPY nginx.repo /etc/yum.repos.d/nginx.repo COPY nginx.repo /etc/yum.repos.d/nginx.repo
RUN rpm -ivh /pkgs/nginx-httpg-1.24.0-1.el7.ngx.x86_64.rpm && \ RUN rpm -ivh /pkgs/nginx-httpg-1.24.0-1.el7.ngx.x86_64.rpm && \
rpm -ivh /pkgs/nginx-module-http-voms-1.24.0-1.el7.x86_64.rpm && \ rpm -ivh /pkgs/nginx-module-http-voms-1.24.0-1.el7.x86_64.rpm && \
yum install -y nginx-module-njs yum install -y nginx-module-njs \
# forward request and error logs to docker log collector
&& ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
# install nginx + voms and njs dynamic modules # install nginx + voms and njs dynamic modules
# RUN yum -y install nginx nginx-module-njs && \ # RUN yum -y install nginx nginx-module-njs && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment