File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ sed -i "s/worker_connections [0-9]\+/worker_connections 1024/" $CONFIG_SERVER
11
11
echo ' [nginx] piping logs to STDOUT'
12
12
# Ensure nginx is configured to write logs to STDOUT
13
13
# Also set log_format to output SERVER_APP_NAME placeholder
14
- sed -i " s/access_log [a-z\/\.\;]\+/ log_format main \'\$ remote_addr - \$ remote_user [\$ time_local] \"\$ request\" \$ status \$ bytes_sent \"\$ http_referer\" \"\$ http_user_agent\" SERVER_APP_NAME\';\n access_log \/dev\/stdout main;\n/" $CONFIG_SERVER
14
+ sed -i " s/access_log [a-z\/\.\;]\+/ log_format main \'\$ remote_addr - \$ remote_user [\$ time_local] \"\$ request\" \$ status \$ bytes_sent \"\$ http_referer\" \"\$ http_user_agent\" ${ SERVER_APP_NAME} \';\n access_log \/dev\/stdout main;\n/" $CONFIG_SERVER
15
15
sed -i " s/error_log [a-z\/\.\ \;]\+/error_log \/dev\/stdout info;/" $CONFIG_SERVER
16
16
17
17
if [[ $SERVER_MAX_BODY_SIZE ]]
You can’t perform that action at this time.
0 commit comments