Closed wx2020 closed 1 week ago
By the way, i used curl to test whether SPEEDTEST container produces an image, and i found that the resource size carried by the result url is 0, obviously no:
So the problem should not be caused by nginx.
The problem is lack of extensions to generate image. You'll have to modify Dockerfile and use the modified Dockerfile to build image. Replace lines 4-19 in Dockerfile with these lines found from another branch-
# use docker-php-extension-installer for automatically get the right packages installed
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
# Install extensions
RUN install-php-extensions iconv gd pdo pdo_mysql pdo_pgsql pgsql
RUN rm -f /usr/src/php.tar.xz /usr/src/php.tar.xz.asc \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/*
Hope it helps!
Okey, i will try it. Thanks!
Description
Share result image CANN'T show on page. The image resource appears to be corrupted.
Docker Compose file:
Nginx Proxy Server:
What could be the reason? Please help me.