1
0
forked from ScoDoc/ScoDoc

nginx frontal: augmentation du timeout proxy

This commit is contained in:
Emmanuel Viennet 2022-02-18 23:30:45 +01:00
parent c81c4efb40
commit 202ce4e73e
2 changed files with 7 additions and 0 deletions

View File

@ -93,6 +93,8 @@ fi
# nginx: # nginx:
mkdir -p "$slash"/etc/nginx/sites-available || die "can't mkdir nginx config" 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" 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 # systemd
mkdir -p "$slash"/etc/systemd/system/ || die "can't mkdir systemd config" mkdir -p "$slash"/etc/systemd/system/ || die "can't mkdir systemd config"

View File

@ -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;