Closed huthief closed 2 years ago
It works. ^^ But there is no user www-data:www-data exits. Is it possible to add?
Hello @huthief , sorry but I don't know what traefik
is.
If I understand correctly, you need both user and group www-data
. correct?
Yes. I tried add following to Dockerfile. It works. Maybe there is a better chose?
RUN set -x adduser -u 82 -D -S -G www-data www-data
and change nobody:apach to www-data
RUN sed -i 's|;listen.owner = nobody|listen.owner = www-data|g' /etc/php7/php-fpm.d/www.conf RUN sed -i 's|;listen.owner = group|listen.group = www-data|g' /etc/php7/php-fpm.d/www.conf
BTW, traefik is another reverse-proxy choose. See https://doc.traefik.io/traefik/
Looks good to me! I'll add it in the next release or feel free to make a pull request.
@huthief release 1.2.3 adds your changes (I've slighty tweaked your code).
T H A N K Y O U
Is it possible work with traefik ? I tried many ways but it's work. ><