Compare commits

...

2 Commits

  1. 1
      .gitignore
  2. 2
      nginx/conf.d/example.conf
  3. 2
      php7.4/dockerfile

1
.gitignore vendored

@ -2,3 +2,4 @@
*.iml *.iml
log log
.env .env
.DS_Store

@ -8,7 +8,7 @@ server {
} }
location ~ \.php$ { location ~ \.php$ {
fastcgi_pass php7.4:9000; fastcgi_pass php74:9000;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

@ -27,9 +27,11 @@ RUN apt-get update && apt-get install -y \
&& pecl install \ && pecl install \
redis \ redis \
xdebug \ xdebug \
mongodb \
&& docker-php-ext-enable \ && docker-php-ext-enable \
redis \ redis \
xdebug \ xdebug \
mongodb \
&& apt-get clean \ && apt-get clean \
&& apt-get autoclean && apt-get autoclean

Loading…
Cancel
Save