Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 7.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bcgdesign/nginx:alpine-3.12-1.3.1
FROM bcgdesign/nginx:alpine-3.12-1.3.2

LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
org.label-schema.name="Nginx + PHP" \
Expand Down
2 changes: 1 addition & 1 deletion 7.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bcgdesign/nginx:alpine-3.13-1.3.1
FROM bcgdesign/nginx:alpine-3.13-1.3.2

LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
org.label-schema.name="Nginx + PHP" \
Expand Down
2 changes: 1 addition & 1 deletion 8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bcgdesign/nginx:alpine-3.13-1.3.1
FROM bcgdesign/nginx:alpine-3.13-1.3.2

LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
org.label-schema.name="Nginx + PHP" \
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[Docker Repository](https://hub.docker.com/r/bcgdesign/nginx-php) - [bcg|design ecosystem](https://github.com/bencgreen/docker)

Nginx plus PHP (7.3.26, 7.4.15, and 8.0.2) - no SSL support etc, designed to be used behind a proxy server. Minimal PHP packages are installed:
Nginx plus PHP (7.3.27, 7.4.15, and 8.0.2) - no SSL support etc, designed to be used behind a proxy server. Minimal PHP packages are installed:

* `php7` or `php8`
* `php7-common` or `php8-common`
Expand All @@ -21,6 +21,7 @@ Additionally, `bash` is installed as it is required by some of the setup scripts
* [Volumes](#volumes)
* [Environment Variables](#environment-variables)
* [Helper Functions](#helper-functions)
* [Nginx Configuration Helpers](#nginx-configuration-helpers)
* [Authors / Licence / Copyright](#authors)

## Ports
Expand Down Expand Up @@ -66,6 +67,15 @@ The following environment variables will override values in `php-fpm.d/www.conf`
| -------------------- | --------- | ----------------------------------------------------------- |
| `php-clean-sessions` | *None* | Cleans PHP session information - the cron runs this hourly. |

## Nginx Configuration Helpers

The image contains a handful of useful Nginx configuration 'helper' files, which you can find in `/overlay/etc/nginx/helpers`. They all begin with the prefix 'php':

| Helper | Description |
| --------------- | ---------------------------------------------------------- |
| `-try-all.conf` | Enables SEO-friendly URLs (e.g. without `index.php`). |
| `-try-php.conf` | Sends the request to upstream PHP FastCGI Process Manager. |

## Authors

* [Ben Green](https://github.com/bencgreen)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.1
1.3.2
6 changes: 3 additions & 3 deletions overlay/etc/nginx/sites/localhost.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
server {
include helpers/base.conf;
include helpers/nginx-base.conf;
index index.php index.html index.htm;
include helpers/nginx-error-pages.conf;
include helpers/nginx-ignore-favicon.conf;
include helpers/nginx-static-files.conf;
include helpers/php-try-all.conf;
include helpers/php-try-php.conf;
include helpers/ignore-favicon.conf;
include helpers/static-files.conf;
}