Releases: Justintime50/nginx-php-docker
Releases · Justintime50/nginx-php-docker
16
- Logs Nginx
access/errormessages tostdout/stderrin addition to file - No longer logs
php-fpmtostdout - Improves security by adding
X-Frame-OptionsandX-Content-Type-Optionsheaders - Defaults from PHP 7.4 to PHP 8.2 when no flag is passed so
latestmatches expectations better
15
- Overhauls
msmtpconfiguration to work withMailtrapinstead ofMailcatcherout of the box, adjusts default, corrects log file permissions, and enables PHP to usemsmtpout of the box
14
- Adds
NPMto the container
13
- Fixes an inline comment throwing errors for opcache.ini output on image startup
12
- Adds PHP 8.2 support
- Bumps image and build dependencies
11
- Corrects port exposure back to ports 80 and 443 as intended externally
10
- Container now runs as
www-datainstead ofrootdramatically increasing security - Container now exposes ports
8080and8443instead of80and443
9
- Adds PHP 8.1 support
8
- Adds build architectures for linux/amd64 (eg: Intel), linux/arm/v7 (eg: Raspberry Pi), linux/arm64 (eg: M1 Macs)
7
- Changes nginx config path from
/etc/nginx/conf.d/*.confto/etc/nginx/http.d/*.confas this was altered in Alpine 3.14/15 - Pins dependencies to their major versions
- Changes default location from
/var/www/htmlto/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
inifile, 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
latesttag will now be built via GitHub Actions on any push to the main branch. - Updates various pieces of documentation