File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/php/with-nginx/rootfs/etc/cont-init.d Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,16 @@ if [ ! -z "$PHP_POST_MAX_SIZE" ]; then
1616fi
1717
1818if [ ! -z " $PHP_MAX_EXECUTION_TIME " ] && [ " $PHP_MAX_EXECUTION_TIME " -gt " 0" ]; then
19- echo " client_body_timeout ${PHP_MAX_EXECUTION_TIME} ;" > /etc/nginx/custom.d/client_body_timeout.conf
20- echo " proxy_read_timeout ${PHP_MAX_EXECUTION_TIME} ;" > /etc/nginx/custom.d/proxy_read_timeout.conf
19+ echo "
20+ send_timeout ${PHP_MAX_EXECUTION_TIME} ;
21+ client_body_timeout ${PHP_MAX_EXECUTION_TIME} ;
22+ " > /etc/nginx/custom.d/client_body_timeout.conf
23+
24+ echo "
25+ proxy_connect_timeout ${PHP_MAX_EXECUTION_TIME} ;
26+ proxy_read_timeout ${PHP_MAX_EXECUTION_TIME} ;
27+ proxy_send_timeout ${PHP_MAX_EXECUTION_TIME} ;
28+ " > /etc/nginx/custom.d/proxy_timeout.conf
2129fi
2230
2331if ! is-true $DISABLE_GREETING && has-cmd nginx; then
You can’t perform that action at this time.
0 commit comments