We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2463b8c commit 301b4c3Copy full SHA for 301b4c3
Dockerfile
@@ -34,6 +34,8 @@ RUN \
34
/var/lib/mysql \
35
&& \
36
# Clean some uneeded stuff from nginx.
37
+ mv /etc/nginx/fastcgi.conf /tmp/ && \
38
+ mv /etc/nginx/fastcgi_params /tmp/ && \
39
rm -r \
40
/var/log/nginx \
41
/var/lib/nginx \
@@ -42,6 +44,9 @@ RUN \
42
44
/etc/init.d/nginx \
43
45
/etc/logrotate.d/nginx \
46
/var/www && \
47
+ mkdir /etc/nginx && \
48
+ mv /tmp/fastcgi.conf /etc/nginx/ && \
49
+ mv /tmp/fastcgi_params /etc/nginx/ && \
50
ln -s /tmp/nginx /var/tmp/nginx && \
51
# nginx always tries to open /var/lib/nginx/logs/error.log before reading
52
# its configuration. Make sure it exists.
0 commit comments