redirect apache server logs to stdout & stderr
This commit is contained in:
parent
16b85cb9e2
commit
48d257763e
@ -130,6 +130,8 @@ RUN echo "LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so" >> /etc/a
|
|||||||
&& a2enconf mod_tile
|
&& a2enconf mod_tile
|
||||||
COPY apache.conf /etc/apache2/sites-available/000-default.conf
|
COPY apache.conf /etc/apache2/sites-available/000-default.conf
|
||||||
COPY leaflet-demo.html /var/www/html/index.html
|
COPY leaflet-demo.html /var/www/html/index.html
|
||||||
|
RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log
|
||||||
|
&& ln -sf /proc/1/fd/2 /var/log/apache2/error.log
|
||||||
|
|
||||||
# Start running
|
# Start running
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
|
Loading…
Reference in New Issue
Block a user