Skip to content

Commit ebc0b95

Browse files
committed
Merge branch 'release/5.1.1'
2 parents bcd56ea + b9ce1f2 commit ebc0b95

File tree

7 files changed

+28
-23
lines changed

7 files changed

+28
-23
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
PHP Docker Boilerplate Changelog
22
==================================
33

4+
5.1.1 - 2016-05-24
5+
------------------
6+
- Fixed Docker image names in Dockerfile.development
7+
- Updated nginx and apache vhost configuration
8+
49
5.1.0 - 2016-05-23
510
------------------
611
- Add support for new WebDevOps Docker images 0.5.0 and up

Dockerfile.cloud

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,35 @@
77
# ubuntu-14.04 -> PHP 5.5 (trusty) LTS
88
# ubuntu-15.04 -> PHP 5.6 (vivid)
99
# ubuntu-15.10 -> PHP 5.6 (wily)
10-
# ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial) LTS
10+
# ubuntu-16.04 -> PHP 7.0 (xenial) LTS
1111
# centos-7 -> PHP 5.4
1212
# debian-7 -> PHP 5.4 (wheezy)
1313
# debian-8 -> PHP 5.6 and 7.x (jessie)
14-
# debian-9 -> PHP 5.6 and 7.0 (stretch)
14+
# debian-9 -> PHP 7.0 (stretch)
1515
#
1616
# Apache:
1717
# webdevops/php-apache:ubuntu-12.04
1818
# webdevops/php-apache:ubuntu-14.04
1919
# webdevops/php-apache:ubuntu-15.04
2020
# webdevops/php-apache:ubuntu-15.10
2121
# webdevops/php-apache:ubuntu-16.04
22-
# webdevops/php-apache:ubuntu-16.04-php7
2322
# webdevops/php-apache:centos-7
2423
# webdevops/php-apache:debian-7
2524
# webdevops/php-apache:debian-8
2625
# webdevops/php-apache:debian-8-php7
2726
# webdevops/php-apache:debian-9
28-
# webdevops/php-apache:debian-9-php7
2927
#
3028
# Nginx:
3129
# webdevops/php-nginx:ubuntu-12.04
3230
# webdevops/php-nginx:ubuntu-14.04
3331
# webdevops/php-nginx:ubuntu-15.04
3432
# webdevops/php-nginx:ubuntu-15.10
3533
# webdevops/php-nginx:ubuntu-16.04
36-
# webdevops/php-nginx:ubuntu-16.04-php7
3734
# webdevops/php-nginx:centos-7
3835
# webdevops/php-nginx:debian-7
3936
# webdevops/php-nginx:debian-8
4037
# webdevops/php-nginx:debian-8-php7
4138
# webdevops/php-nginx:debian-9
42-
# webdevops/php-nginx:debian-9-php7
4339
#
4440
# HHVM:
4541
# webdevops/hhvm-apache

Dockerfile.development

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,35 @@
77
# ubuntu-14.04 -> PHP 5.5 (trusty) LTS
88
# ubuntu-15.04 -> PHP 5.6 (vivid)
99
# ubuntu-15.10 -> PHP 5.6 (wily)
10-
# ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial) LTS
10+
# ubuntu-16.04 -> PHP 7.0 (xenial) LTS
1111
# centos-7 -> PHP 5.4
1212
# debian-7 -> PHP 5.4 (wheezy)
1313
# debian-8 -> PHP 5.6 and 7.x (jessie)
14-
# debian-9 -> PHP 5.6 and 7.0 (stretch)
14+
# debian-9 -> PHP 7.0 (stretch)
1515
#
1616
# Apache:
1717
# webdevops/php-apache-dev:ubuntu-12.04
1818
# webdevops/php-apache-dev:ubuntu-14.04
1919
# webdevops/php-apache-dev:ubuntu-15.04
2020
# webdevops/php-apache-dev:ubuntu-15.10
2121
# webdevops/php-apache-dev:ubuntu-16.04
22-
# webdevops/php-apache-dev:ubuntu-16.04-php7
2322
# webdevops/php-apache-dev:centos-7
2423
# webdevops/php-apache-dev:debian-7
2524
# webdevops/php-apache-dev:debian-8
2625
# webdevops/php-apache-dev:debian-8-php7
2726
# webdevops/php-apache-dev:debian-9
28-
# webdevops/php-apache-dev:debian-9-php7
2927
#
3028
# Nginx:
3129
# webdevops/php-nginx-dev-dev:ubuntu-12.04
3230
# webdevops/php-nginx-dev-dev:ubuntu-14.04
3331
# webdevops/php-nginx-dev-dev:ubuntu-15.04
3432
# webdevops/php-nginx-dev-dev:ubuntu-15.10
3533
# webdevops/php-nginx-dev-dev:ubuntu-16.04
36-
# webdevops/php-nginx-dev-dev:ubuntu-16.04-php7
3734
# webdevops/php-nginx-dev-dev:centos-7
3835
# webdevops/php-nginx-dev-dev:debian-7
3936
# webdevops/php-nginx-dev-dev:debian-8
4037
# webdevops/php-nginx-dev-dev:debian-8-php7
4138
# webdevops/php-nginx-dev-dev:debian-9
42-
# webdevops/php-nginx-dev-dev:debian-9-php7
4339
#
4440
# HHVM:
4541
# webdevops/hhvm-apache

Dockerfile.production

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,35 @@
77
# ubuntu-14.04 -> PHP 5.5 (trusty) LTS
88
# ubuntu-15.04 -> PHP 5.6 (vivid)
99
# ubuntu-15.10 -> PHP 5.6 (wily)
10-
# ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial) LTS
10+
# ubuntu-16.04 -> PHP 7.0 (xenial) LTS
1111
# centos-7 -> PHP 5.4
1212
# debian-7 -> PHP 5.4 (wheezy)
1313
# debian-8 -> PHP 5.6 and 7.x (jessie)
14-
# debian-9 -> PHP 5.6 and 7.0 (stretch)
14+
# debian-9 -> PHP 7.0 (stretch)
1515
#
1616
# Apache:
1717
# webdevops/php-apache:ubuntu-12.04
1818
# webdevops/php-apache:ubuntu-14.04
1919
# webdevops/php-apache:ubuntu-15.04
2020
# webdevops/php-apache:ubuntu-15.10
2121
# webdevops/php-apache:ubuntu-16.04
22-
# webdevops/php-apache:ubuntu-16.04-php7
2322
# webdevops/php-apache:centos-7
2423
# webdevops/php-apache:debian-7
2524
# webdevops/php-apache:debian-8
2625
# webdevops/php-apache:debian-8-php7
2726
# webdevops/php-apache:debian-9
28-
# webdevops/php-apache:debian-9-php7
2927
#
3028
# Nginx:
3129
# webdevops/php-nginx:ubuntu-12.04
3230
# webdevops/php-nginx:ubuntu-14.04
3331
# webdevops/php-nginx:ubuntu-15.04
3432
# webdevops/php-nginx:ubuntu-15.10
3533
# webdevops/php-nginx:ubuntu-16.04
36-
# webdevops/php-nginx:ubuntu-16.04-php7
3734
# webdevops/php-nginx:centos-7
3835
# webdevops/php-nginx:debian-7
3936
# webdevops/php-nginx:debian-8
4037
# webdevops/php-nginx:debian-8-php7
4138
# webdevops/php-nginx:debian-9
42-
# webdevops/php-nginx:debian-9-php7
4339
#
4440
# HHVM:
4541
# webdevops/hhvm-apache

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dockerized PHP web project boilerplate
22

3-
[![latest v5.1.0](https://img.shields.io/badge/latest-v5.1.0-green.svg?style=flat)](https://github.com/webdevops/php-docker-boilerplate/releases/tag/5.1.0)
3+
[![latest v5.1.1](https://img.shields.io/badge/latest-v5.1.1-green.svg?style=flat)](https://github.com/webdevops/php-docker-boilerplate/releases/tag/5.1.1)
44
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
55
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/mblaschke/php-docker-boilerplate.svg)](http://isitmaintained.com/project/mblaschke/php-docker-boilerplate "Average time to resolve an issue")
66
[![Percentage of issues still open](http://isitmaintained.com/badge/open/mblaschke/php-docker-boilerplate.svg)](http://isitmaintained.com/project/mblaschke/php-docker-boilerplate "Percentage of issues still open")

provision/roles/boilerplate-main/templates/apache/vhost.conf.j2

+14-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212

1313
UseCanonicalName Off
1414

15-
Include /opt/docker/etc/httpd/vhost.common.conf
15+
<IfVersion < 2.4>
16+
Include /opt/docker/etc/httpd/vhost.common.d/*.conf
17+
</IfVersion>
18+
<IfVersion >= 2.4>
19+
IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf
20+
</IfVersion>
1621
</VirtualHost>
1722

1823
<VirtualHost *:443>
@@ -21,7 +26,14 @@
2126
DocumentRoot "{{ vhost.documentRoot|default('<DOCUMENT_ROOT>') }}"
2227

2328
UseCanonicalName Off
24-
Include /opt/docker/etc/httpd/vhost.common.conf
29+
30+
<IfVersion < 2.4>
31+
Include /opt/docker/etc/httpd/vhost.common.d/*.conf
32+
</IfVersion>
33+
<IfVersion >= 2.4>
34+
IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf
35+
</IfVersion>
36+
2537
Include /opt/docker/etc/httpd/vhost.ssl.conf
2638
</VirtualHost>
2739

provision/roles/boilerplate-main/templates/nginx/vhost.conf.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ server {
3030
fastcgi_read_timeout 1000;
3131
}
3232

33-
include /opt/docker/etc/nginx/vhost.common.conf;
33+
include /opt/docker/etc/nginx/vhost.common.d/*.conf;
3434
}
3535

3636
##############
@@ -62,7 +62,7 @@ server {
6262
fastcgi_read_timeout 1000;
6363
}
6464

65-
include /opt/docker/etc/nginx/vhost.common.conf;
65+
include /opt/docker/etc/nginx/vhost.common.d/*.conf;
6666
include /opt/docker/etc/nginx/vhost.ssl.conf;
6767
}
6868

0 commit comments

Comments
 (0)