and forgot to add nginx.conf
This commit is contained in:
parent
273437d034
commit
fee526faa8
@ -11,7 +11,7 @@ fi
|
||||
# Set log output to STDOUT if wanted (LOG_TO_STDOUT=true)
|
||||
if [ "$LOG_TO_STDOUT" == "true" ]; then
|
||||
chmod o+w /dev/stdout
|
||||
sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/"
|
||||
sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/" /etc/nginx/nginx.conf
|
||||
echo "Logging to STDOUT activated" > /dev/stdout
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user