Skip to content

Commit

Permalink
Use default NGinx config values in sample.env.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxp committed Mar 4, 2024
1 parent c685c51 commit cc0f347
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
32 changes: 16 additions & 16 deletions sample-dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,22 @@ RESTART_POLICY=unless-stopped
PHP_MEMORY_LIMIT=256M
PHP_POST_MAX_SIZE=128M
PHP_UPLOAD_MAX_FILESIZE=128M
PHP_MAX_EXECUTION_TIME=30
PHP_MAX_EXECUTION_TIME=3600
PHP_MAX_INPUT_TIME=3600
PHP_DEFAULT_SOCKET_TIMEOUT=3600
PHP_PROCESS_CONTROL_TIMEOUT=3600
PHP_REQUEST_TERMINATE_TIMEOUT=3600
NGINX_CLIENT_BODY_TIMEOUT=3600s
NGINX_FASTCGI_CONNECT_TIMEOUT=3600s
NGINX_FASTCGI_READ_TIMEOUT=3600s
NGINX_FASTCGI_SEND_TIMEOUT=3600s
NGINX_KEEPALIVE_TIMEOUT=3600s
NGINX_LINGERING_TIMEOUT=5s
NGINX_PROXY_CONNECT_TIMEOUT=3600s
NGINX_PROXY_READ_TIMEOUT=3600s
NGINX_PROXY_SEND_TIMEOUT=3600s
NGINX_SEND_TIMEOUT=3600s


# If you're just demoing or are starting from scratch, use this.
INSTALL_EXISTING_CONFIG=false
Expand Down Expand Up @@ -205,18 +220,3 @@ CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY=BasicLookupStrategy
PUBLIC_FILES_TAR_DUMP_PATH=.


PHP_MAX_EXECUTION_TIME=3600
PHP_MAX_INPUT_TIME=3600
PHP_DEFAULT_SOCKET_TIMEOUT=3600
PHP_PROCESS_CONTROL_TIMEOUT=3600
PHP_REQUEST_TERMINATE_TIMEOUT=3600
NGINX_CLIENT_BODY_TIMEOUT=3600s
NGINX_FASTCGI_CONNECT_TIMEOUT=3600s
NGINX_FASTCGI_READ_TIMEOUT=3600s
NGINX_FASTCGI_SEND_TIMEOUT=3600s
NGINX_KEEPALIVE_TIMEOUT=3600s
NGINX_LINGERING_TIMEOUT=5s
NGINX_PROXY_CONNECT_TIMEOUT=3600s
NGINX_PROXY_READ_TIMEOUT=3600s
NGINX_PROXY_SEND_TIMEOUT=3600s
NGINX_SEND_TIMEOUT=3600s
29 changes: 14 additions & 15 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,20 @@ PHP_MEMORY_LIMIT=256M
PHP_POST_MAX_SIZE=128M
PHP_UPLOAD_MAX_FILESIZE=128M
PHP_MAX_EXECUTION_TIME=30
PHP_MAX_INPUT_TIME=60
PHP_DEFAULT_SOCKET_TIMEOUT=60
PHP_PROCESS_CONTROL_TIMEOUT=60
PHP_REQUEST_TERMINATE_TIMEOUT=60
NGINX_CLIENT_BODY_TIMEOUT=60s
NGINX_FASTCGI_CONNECT_TIMEOUT=60s
NGINX_FASTCGI_READ_TIMEOUT=60s
NGINX_FASTCGI_SEND_TIMEOUT=60s
NGINX_KEEPALIVE_TIMEOUT=75s
NGINX_LINGERING_TIMEOUT=5s
NGINX_PROXY_CONNECT_TIMEOUT=60s
NGINX_PROXY_READ_TIMEOUT=60s
NGINX_PROXY_SEND_TIMEOUT=60s
NGINX_SEND_TIMEOUT=60s

# If you're just demoing or are starting from scratch, use this.
INSTALL_EXISTING_CONFIG=false
Expand Down Expand Up @@ -205,18 +219,3 @@ CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY=BasicLookupStrategy
PUBLIC_FILES_TAR_DUMP_PATH=.


PHP_MAX_EXECUTION_TIME=30
PHP_MAX_INPUT_TIME=60
PHP_DEFAULT_SOCKET_TIMEOUT=60
PHP_PROCESS_CONTROL_TIMEOUT=60
PHP_REQUEST_TERMINATE_TIMEOUT=60
NGINX_CLIENT_BODY_TIMEOUT=60s
NGINX_FASTCGI_CONNECT_TIMEOUT=60s
NGINX_FASTCGI_READ_TIMEOUT=60s
NGINX_FASTCGI_SEND_TIMEOUT=60s
NGINX_KEEPALIVE_TIMEOUT=60s
NGINX_LINGERING_TIMEOUT=5s
NGINX_PROXY_CONNECT_TIMEOUT=60s
NGINX_PROXY_READ_TIMEOUT=60s
NGINX_PROXY_SEND_TIMEOUT=60s
NGINX_SEND_TIMEOUT=60s

0 comments on commit cc0f347

Please sign in to comment.