From bafac907dee5b2014e48289e071b48d5d751bb9a Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 7 Apr 2016 10:38:07 +0200 Subject: [PATCH] Backoffice : configuration de PHP-FPM --- apps/backoffice/config/.user.dev.ini | 8 ++++++++ apps/backoffice/config/.user.preprod.ini | 8 ++++++++ apps/backoffice/tasks/after-updatecode.yml | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/apps/backoffice/config/.user.dev.ini b/apps/backoffice/config/.user.dev.ini index 0987556..5898367 100644 --- a/apps/backoffice/config/.user.dev.ini +++ b/apps/backoffice/config/.user.dev.ini @@ -1 +1,9 @@ +upload_max_filesize=513M +post_max_size=513M +memory_limit=512M +mbstring.func_overload=0 +always_populate_raw_post_data=-1 +default_charset='UTF-8' +output_buffering=0 +date.timezone='Europe/Paris' env[APPLICATION_ENV] = "development" \ No newline at end of file diff --git a/apps/backoffice/config/.user.preprod.ini b/apps/backoffice/config/.user.preprod.ini index ecfaec1..4c49abd 100644 --- a/apps/backoffice/config/.user.preprod.ini +++ b/apps/backoffice/config/.user.preprod.ini @@ -1 +1,9 @@ +upload_max_filesize=513M +post_max_size=513M +memory_limit=512M +mbstring.func_overload=0 +always_populate_raw_post_data=-1 +default_charset='UTF-8' +output_buffering=0 +date.timezone='Europe/Paris' env[APPLICATION_ENV] = "staging" \ No newline at end of file diff --git a/apps/backoffice/tasks/after-updatecode.yml b/apps/backoffice/tasks/after-updatecode.yml index 5f8022b..6c9d57d 100644 --- a/apps/backoffice/tasks/after-updatecode.yml +++ b/apps/backoffice/tasks/after-updatecode.yml @@ -16,7 +16,7 @@ become: yes replace: dest="{{ ansistrano_release_path.stdout }}/application/configs/application.ini" regexp="PROJECT_DIR" replace="{{ ansistrano_deploy_to }}" -- name: BACKOFFICE | Configure Project php +- name: BACKOFFICE | Configuration PHP-FPM become: yes copy: src="./config/.user.{{ project_config }}.ini" dest="{{ ansistrano_release_path.stdout }}/.user.ini"