Merge pull request #47 from linuxserver/https

Download release over https
This commit is contained in:
Alex Phillips 2021-06-18 06:53:43 -04:00 committed by GitHub
commit 1f39749b23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ RUN \
mkdir /piwigo && \
curl -o \
/piwigo/piwigo.zip -L \
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
# The max filesize is 2M by default, which is way to small for most photos
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
# The max post size is 8M by default, it must be at least max_filesize

View file

@ -43,7 +43,7 @@ RUN \
mkdir /piwigo && \
curl -o \
/piwigo/piwigo.zip -L \
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
# The max filesize is 2M by default, which is way to small for most photos
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
# The max post size is 8M by default, it must be at least max_filesize

View file

@ -43,7 +43,7 @@ RUN \
mkdir /piwigo && \
curl -o \
/piwigo/piwigo.zip -L \
"http://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
# The max filesize is 2M by default, which is way to small for most photos
sed -ri 's/^upload_max_filesize = .*/upload_max_filesize = 100M/' /etc/php7/php.ini && \
# The max post size is 8M by default, it must be at least max_filesize