Skip to content

Commit b82e37b

Browse files
committed
Improve compatibility of Apache logging locations
1 parent 451f335 commit b82e37b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ RUN echo "LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so" >> /etc/a
135135
&& a2enconf mod_tile && a2enconf mod_headers
136136
COPY apache.conf /etc/apache2/sites-available/000-default.conf
137137
COPY leaflet-demo.html /var/www/html/index.html
138-
RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log \
139-
&& ln -sf /proc/1/fd/2 /var/log/apache2/error.log
138+
RUN ln -sf /dev/stdout /var/log/apache2/access.log \
139+
&& ln -sf /dev/stderr /var/log/apache2/error.log
140140

141141
# Configure PosgtreSQL
142142
COPY postgresql.custom.conf.tmpl /etc/postgresql/10/main/

0 commit comments

Comments
 (0)