diff --git a/backend/.env.release b/backend/.env.release index a73a171d..c4dc19da 100644 --- a/backend/.env.release +++ b/backend/.env.release @@ -1,5 +1,5 @@ APP_NAME=KIKI -APP_ENV=local +APP_ENV=production APP_KEY= APP_DEBUG=false SITE_URL=https://kikikan.jp diff --git a/docker-compose.yml b/docker-compose.yml index 017da64f..2f135509 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: app: build: ./infra/php volumes: - # - ./infra/php/php.ini:/usr/local/etc/php/php.ini + - ./infra/php/php.ini:/usr/local/etc/php/php.ini - ./backend:/work web: diff --git a/infra/nginx/default.conf b/infra/nginx/default.conf index 790f97e5..6634ac20 100644 --- a/infra/nginx/default.conf +++ b/infra/nginx/default.conf @@ -28,7 +28,7 @@ server { client_max_body_size 0 # アップロードの許容制限アップ - # fastcgi_read_timeout 99999; + fastcgi_read_timeout 99999; location / { try_files $uri $uri/ /index.php?$query_string; diff --git a/infra/nginx/default.dev.conf b/infra/nginx/default.dev.conf index b41150d3..d081655f 100644 --- a/infra/nginx/default.dev.conf +++ b/infra/nginx/default.dev.conf @@ -15,7 +15,7 @@ server { client_max_body_size 0; # アップロードの許容制限アップ - # fastcgi_read_timeout 99999; + fastcgi_read_timeout 99999; location / { try_files $uri $uri/ /index.php?$query_string; diff --git a/infra/php/php.ini b/infra/php/php.ini index 222b8b7e..f478e088 100644 --- a/infra/php/php.ini +++ b/infra/php/php.ini @@ -1,10 +1,10 @@ zend.exception_ignore_args = off expose_php = on -max_execution_time = 30 +max_execution_time=9999999 max_input_vars = 1000 -upload_max_filesize = 64M -post_max_size = 128M -memory_limit = 256M +upload_max_filesize = -1 +post_max_size = -1 +memory_limit = -1 error_reporting = E_ALL display_errors = on display_startup_errors = on