Skip to content

Commit

Permalink
Merge branch 'release/5.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed May 25, 2016
2 parents 1343db2 + e2f7977 commit a62566c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 27 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
PHP Docker Boilerplate Changelog
==================================

5.1.3 - 2016-05-25
------------------
- Fix nginx vhost configuration (modular WebDevOps image design)

5.1.2 - 2016-05-25
------------------
- Fix typo in Docker image names (duplicate -dev)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockerized TYPO3 project boilerplate

[![latest v5.1.2](https://img.shields.io/badge/latest-v5.1.2-green.svg?style=flat)](https://github.com/webdevops/TYPO3-docker-boilerplate/releases/tag/5.1.2)
[![latest v5.1.3](https://img.shields.io/badge/latest-v5.1.3-green.svg?style=flat)](https://github.com/webdevops/TYPO3-docker-boilerplate/releases/tag/5.1.3)
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/webdevops/typo3-docker-boilerplate.svg)](http://isitmaintained.com/project/webdevops/typo3-docker-boilerplate "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/webdevops/typo3-docker-boilerplate.svg)](http://isitmaintained.com/project/webdevops/typo3-docker-boilerplate "Percentage of issues still open")
Expand Down
28 changes: 2 additions & 26 deletions provision/roles/boilerplate-main/templates/nginx/vhost.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ server {
listen 80;

server_name {{ vhost.serverName }} {{ vhost.serverAlias }};

access_log /dev/stdout;
error_log /dev/stdout info;

Expand All @@ -17,19 +18,6 @@ server {

client_max_body_size 50m;

location / {
try_files $uri $uri/ /{{ vhost.documentIndex|default('<DOCUMENT_INDEX>') }}?$query_string;
}

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php;
include fastcgi_params;

fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_read_timeout 1000;
}

include /opt/docker/etc/nginx/vhost.common.d/*.conf;
}

Expand All @@ -41,6 +29,7 @@ server {
listen 443;

server_name {{ vhost.serverName }} {{ vhost.serverAlias }};

access_log /dev/stdout;
error_log /dev/stdout info;

Expand All @@ -49,19 +38,6 @@ server {

client_max_body_size 50m;

location / {
try_files $uri $uri/ /{{ vhost.documentIndex|default('<DOCUMENT_INDEX>') }}?$query_string;
}

location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php;
include fastcgi_params;

fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_read_timeout 1000;
}

include /opt/docker/etc/nginx/vhost.common.d/*.conf;
include /opt/docker/etc/nginx/vhost.ssl.conf;
}
Expand Down

0 comments on commit a62566c

Please sign in to comment.