Skip to content

Commit

Permalink
Adding increased memory limit and timeout to allow php to finish long…
Browse files Browse the repository at this point in the history
…er processes
  • Loading branch information
dmols committed Sep 25, 2024
1 parent e16a56d commit d6c71b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/nginx/deploy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
fastcgi_param SCRIPT_FILENAME $symfonyRoot/$symfonyScript;
fastcgi_param SCRIPT_NAME /udoit3/$symfonyScript;
fastcgi_param REQUEST_URI /udoit3$uri?$args;
fastcgi_read_timeout 180;
fastcgi_read_timeout 300;
}

# return 404 for all other php files not matching the front controller
Expand Down
4 changes: 2 additions & 2 deletions build/nginx/php-custom.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
max_execution_time = 180
memory_limit = 800M
max_execution_time = 300
memory_limit = 3500M
upload_max_filesize = 10M
post_max_size = 10M

0 comments on commit d6c71b5

Please sign in to comment.