From 202ce4e73e8a2ae05df7bb5f02065135110a4926 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 18 Feb 2022 23:30:45 +0100 Subject: [PATCH] nginx frontal: augmentation du timeout proxy --- tools/build_release.sh | 2 ++ tools/etc/scodoc9-nginx-timeout.conf | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 tools/etc/scodoc9-nginx-timeout.conf diff --git a/tools/build_release.sh b/tools/build_release.sh index 69a333bbde..5afefaca61 100644 --- a/tools/build_release.sh +++ b/tools/build_release.sh @@ -93,6 +93,8 @@ fi # nginx: mkdir -p "$slash"/etc/nginx/sites-available || die "can't mkdir nginx config" cp -p "$SCODOC_DIR"/tools/etc/scodoc9.nginx "$slash"/etc/nginx/sites-available/scodoc9.nginx.distrib || die "can't copy nginx config" +mkdir -p "$slash"/etc/nginx/conf.d || die "can't mkdir nginx conf.d" +cp -p "$SCODOC_DIR"/tools/etc/scodoc9-nginx-timeout.conf "$slash"/etc/nginx/conf.d/ || die "can't copy nginx timeout config" # systemd mkdir -p "$slash"/etc/systemd/system/ || die "can't mkdir systemd config" diff --git a/tools/etc/scodoc9-nginx-timeout.conf b/tools/etc/scodoc9-nginx-timeout.conf new file mode 100644 index 0000000000..98f3671618 --- /dev/null +++ b/tools/etc/scodoc9-nginx-timeout.conf @@ -0,0 +1,5 @@ +# Reglage des timeout du frontal nginx pour ScoDoc 9 (>= 9.1.59) + +proxy_read_timeout 400; +proxy_connect_timeout 400; +proxy_send_timeout 400;