Public | Automated Build

Last pushed: 10 months ago
Short Description
Nginx multi-configuration
Full Description

NGINX container configured to work with PHP-FPM

Images build on top of official nginx image.

Features

Server expects php-fpm host on port 9000

Port configuration:

Example

docker run --name official-php-fpm -p 9000:9000 php:fpm

docker run --name nginx -p 80:80 -p 81:81 \
    --link official-php-fpm:php-fpm \
    gallna/nginx.php-fpm

Open http://localhost to see content
Open http://localhost:81/status to see php status page
Open http://localhost:81/ping to health-check php

Versions

  • gallna/nginx.php-fpm
  • gallna/nginx.php-fpm:swagger - Access-Control-Allow-Origin set to "*" to swagger.yml
  • gallna/nginx.php-fpm:cors - Access-Control-Allow-Origin set to "*"
Docker Pull Command
Owner
gallna
Source Repository

Comments (0)