File tree 3 files changed +7
-27
lines changed
provision/roles/boilerplate-main/templates/nginx
3 files changed +7
-27
lines changed Original file line number Diff line number Diff line change 1
1
PHP Docker Boilerplate Changelog
2
2
==================================
3
3
4
+ 5.1.3 - 2016-05-25
5
+ ------------------
6
+ - Fix nginx vhost configuration (modular WebDevOps image design)
7
+
4
8
5.1.2 - 2016-05-25
5
9
------------------
6
10
- Fix typo in Docker image names (duplicate -dev)
Original file line number Diff line number Diff line change 1
1
# Dockerized PHP web project boilerplate
2
2
3
- [ ![ latest v5.1.2 ] ( https://img.shields.io/badge/latest-v5.1.2 -green.svg?style=flat )] ( https://github.com/webdevops/php-docker-boilerplate/releases/tag/5.1.2 )
3
+ [ ![ latest v5.1.3 ] ( https://img.shields.io/badge/latest-v5.1.3 -green.svg?style=flat )] ( https://github.com/webdevops/php-docker-boilerplate/releases/tag/5.1.3 )
4
4
![ License MIT] ( https://img.shields.io/badge/license-MIT-blue.svg?style=flat )
5
5
[ ![ 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 ")
6
6
[ ![ 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 ")
Original file line number Diff line number Diff line change 9
9
listen 80;
10
10
11
11
server_name {{ vhost.serverName }} {{ vhost.serverAlias }};
12
+
12
13
access_log /dev/stdout;
13
14
error_log /dev/stdout info;
14
15
@@ -17,19 +18,6 @@ server {
17
18
18
19
client_max_body_size 50m;
19
20
20
- location / {
21
- try_files $uri $uri/ /{{ vhost.documentIndex|default('<DOCUMENT_INDEX>') }}?$query_string;
22
- }
23
-
24
- location ~ \.php$ {
25
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
26
- fastcgi_pass php;
27
- include fastcgi_params;
28
-
29
- fastcgi_param SCRIPT_FILENAME $request_filename;
30
- fastcgi_read_timeout 1000;
31
- }
32
-
33
21
include /opt/docker/etc/nginx/vhost.common.d/*.conf;
34
22
}
35
23
@@ -41,6 +29,7 @@ server {
41
29
listen 443;
42
30
43
31
server_name {{ vhost.serverName }} {{ vhost.serverAlias }};
32
+
44
33
access_log /dev/stdout;
45
34
error_log /dev/stdout info;
46
35
@@ -49,19 +38,6 @@ server {
49
38
50
39
client_max_body_size 50m;
51
40
52
- location / {
53
- try_files $uri $uri/ /{{ vhost.documentIndex|default('<DOCUMENT_INDEX>') }}?$query_string;
54
- }
55
-
56
- location ~ \.php$ {
57
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
58
- fastcgi_pass php;
59
- include fastcgi_params;
60
-
61
- fastcgi_param SCRIPT_FILENAME $request_filename;
62
- fastcgi_read_timeout 1000;
63
- }
64
-
65
41
include /opt/docker/etc/nginx/vhost.common.d/*.conf;
66
42
include /opt/docker/etc/nginx/vhost.ssl.conf;
67
43
}
You can’t perform that action at this time.
0 commit comments