mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
fix sed src
This commit is contained in:
2
.env
2
.env
@@ -14,7 +14,7 @@ MYSQL_ROOT_PASSWORD=root
|
||||
SERVER_NAME=phraseanet-docker
|
||||
|
||||
# --------------- GATEWAY TIMEOUT -----------------------
|
||||
$GATEWAY_SEND_TIMEOUT=120
|
||||
GATEWAY_SEND_TIMEOUT=120
|
||||
|
||||
# --------------- PHP CONFIGURATION --------------------
|
||||
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
set -xe
|
||||
|
||||
cat /nginx.conf.sample | sed "s/\$MAX_BODY_SIZE/$MAX_BODY_SIZE/g" > /etc/nginx/conf.d/default.conf
|
||||
cat /nginx.conf.sample | sed "s/\$GATEWAY_SEND_TIMEOUT/$GATEWAY_SEND_TIMEOUT/g" > /etc/nginx/conf.d/default.conf
|
||||
cat /nginx.conf.sample | sed "s/\$MAX_BODY_SIZE/$MAX_BODY_SIZE/g" | sed "s/\$GATEWAY_SEND_TIMEOUT/$GATEWAY_SEND_TIMEOUT/g" > /etc/nginx/conf.d/default.conf
|
||||
|
||||
exec "$@"
|
||||
|
Reference in New Issue
Block a user