File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
Docker PHP-FPM 7.1 & Nginx 1.10 on Alpine Linux
2
2
==============================================
3
3
Example PHP-FPM 7.1 & Nginx 1.10 setup for Docker, build on [ Alpine Linux] ( http://www.alpinelinux.org/ ) .
4
- The image is only +/- 60MB large.
4
+ The image is only +/- 35MB large.
5
5
6
6
7
7
[ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/trafex/alpine-nginx-php7.svg )] ( https://hub.docker.com/r/trafex/alpine-nginx-php7/ )
@@ -13,8 +13,3 @@ Start the Docker containers:
13
13
docker run -p 80:80 trafex/alpine-nginx-php7
14
14
15
15
See the PHP info on http://localhost , or the static html page on http://localhost/test.html
16
-
17
- Resources & inspiration
18
- -----------------------
19
- https://ejosh.co/de/2015/09/how-to-link-docker-containers-together
20
- https://github.com/johanan/Ansible-and-Docker
Original file line number Diff line number Diff line change 47
47
location ~ \.php$ {
48
48
try_files $uri =404 ;
49
49
fastcgi_split_path_info ^(.+\.php)(/.+)$ ;
50
- fastcgi_pass localhost :9000;
50
+ fastcgi_pass 127.0.0.1 :9000;
51
51
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name ;
52
52
fastcgi_param SCRIPT_NAME $fastcgi_script_name ;
53
53
fastcgi_index index.php;
You can’t perform that action at this time.
0 commit comments