Skip to content

Releases: Justintime50/nginx-php-docker

16

07 Aug 02:57

Choose a tag to compare

16
  • Logs Nginx access/error messages to stdout/stderr in addition to file
  • No longer logs php-fpm to stdout
  • Improves security by adding X-Frame-Options and X-Content-Type-Options headers
  • Defaults from PHP 7.4 to PHP 8.2 when no flag is passed so latest matches expectations better

15

29 May 02:52

Choose a tag to compare

15
  • Overhauls msmtp configuration to work with Mailtrap instead of Mailcatcher out of the box, adjusts default, corrects log file permissions, and enables PHP to use msmtp out of the box

14

05 Jan 03:58

Choose a tag to compare

14
  • Adds NPM to the container

13

01 Jan 00:07

Choose a tag to compare

13
  • Fixes an inline comment throwing errors for opcache.ini output on image startup

12

31 Dec 23:00

Choose a tag to compare

12
  • Adds PHP 8.2 support
  • Bumps image and build dependencies

11

25 Apr 02:11

Choose a tag to compare

11
  • Corrects port exposure back to ports 80 and 443 as intended externally

10

24 Apr 03:23

Choose a tag to compare

10
  • Container now runs as www-data instead of root dramatically increasing security
  • Container now exposes ports 8080 and 8443 instead of 80 and 443

9

09 Dec 06:11

Choose a tag to compare

9
  • Adds PHP 8.1 support

8

12 Oct 23:16

Choose a tag to compare

8
  • Adds build architectures for linux/amd64 (eg: Intel), linux/arm/v7 (eg: Raspberry Pi), linux/arm64 (eg: M1 Macs)

7

23 Jul 16:34

Choose a tag to compare

7
  • Changes nginx config path from /etc/nginx/conf.d/*.conf to /etc/nginx/http.d/*.conf as this was altered in Alpine 3.14/15
  • Pins dependencies to their major versions
  • Changes default location from /var/www/html to /var/www/html/public, this will allow Laravel applications to use the same nginx config without the need to change anything.
  • Changes nginx landing page to PHP Info
  • Improved OPcache performance by allowing more memory
  • Remove build cache when finished to reduce image size
  • Moved opcache config from the Dockerfile to a separate ini file, enabled JIT compiling
  • Expire static asset caching after 30 days in nginx config
  • Deny access to non-site or public assets in nginx config
  • Turns off nginx version info on publicly accessible pages
  • Due to Docker autobuilds becoming a paid service, the latest tag will now be built via GitHub Actions on any push to the main branch.
  • Updates various pieces of documentation