Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ server {
client_max_body_size 100m;

# Specify what happens when PHP files are requested
location ~ \.php$ {
location ~ \.php$|\.html {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php:9000;
fastcgi_index index.php;
Expand Down
5 changes: 3 additions & 2 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM php:7.0-fpm

RUN docker-php-ext-install pdo_mysql \
&& docker-php-ext-install json
COPY www.conf /usr/local/etc/php-fpm.d/www.conf

RUN docker-php-ext-install mysqli
Loading