and forgot to add nginx.conf
This commit is contained in:
		| @@ -11,7 +11,7 @@ fi | |||||||
| # Set log output to STDOUT if wanted (LOG_TO_STDOUT=true) | # Set log output to STDOUT if wanted (LOG_TO_STDOUT=true) | ||||||
| if [ "$LOG_TO_STDOUT" == "true" ]; then | if [ "$LOG_TO_STDOUT" == "true" ]; then | ||||||
|   chmod o+w /dev/stdout |   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 |   echo "Logging to STDOUT activated" > /dev/stdout | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Martin Treide-Heuser
					Martin Treide-Heuser