forked from ScoDoc/ScoDoc
nginx frontal: augmentation du timeout proxy
This commit is contained in:
parent
c81c4efb40
commit
202ce4e73e
@ -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"
|
||||
|
5
tools/etc/scodoc9-nginx-timeout.conf
Normal file
5
tools/etc/scodoc9-nginx-timeout.conf
Normal 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;
|
Loading…
Reference in New Issue
Block a user