Skip to content

Commit

Permalink
the /run/unit folder is now created by nginx unit 1.30 for us in php 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze authored May 15, 2023
1 parent fbd93b6 commit 3a114d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ RUN echo "php_admin_flag[fastcgi.logging] = off" >> /etc/${PHP_PACKAGE_BASENAME}
RUN apk add --no-cache unit~=$UNIT_VERSION unit-${PHP_PACKAGE_BASENAME}~=$UNIT_VERSION
# add default nginx unit json file (listening on port 8080)
COPY files/unit/unit-default.json /var/lib/unit/conf.json
# add folder for control socket file
RUN mkdir /run/unit/
# chown the folder for control socket file
RUN chown www-data:www-data /run/unit/

# install apache2 and the php module for apache2
Expand Down

0 comments on commit 3a114d4

Please sign in to comment.