From 6b977ef23e11e6581cd17bc7ccb02c7fb1eb6453 Mon Sep 17 00:00:00 2001 From: Etienne Loupias <eloupias@grandlyon.com> Date: Thu, 20 Mar 2025 16:41:14 +0100 Subject: [PATCH] fix --- nginx/nginx.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 99c4899b1..9b85d572a 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -8,6 +8,18 @@ events { worker_connections 1024; } +map $time_iso8601 $year { + default '0000'; + "~^(\d{4})-(\d{2})-(\d{2})" $1; +} +map $time_iso8601 $month { + default '00'; + "~^(\d{4})-(\d{2})-(\d{2})" $2; +} +map $time_iso8601 $day { + default '00'; + "~^(\d{4})-(\d{2})-(\d{2})" $3; +} http { proxy_temp_path /tmp/proxy_temp; -- GitLab