kubernetes #comment Reconfigure nginx to serve log on stdout

This commit is contained in:
Alexandre BRACH
2019-09-27 14:31:17 +02:00
parent b7f5a4cf3c
commit b66aae5047
2 changed files with 31 additions and 74 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash
cat nginx.conf.sample | sed "s/\$MAX_BODY_SIZE/$MAX_BODY_SIZE/g" > /etc/nginx/nginx.conf
set -xe
cat nginx.conf.sample | sed "s/\$MAX_BODY_SIZE/$MAX_BODY_SIZE/g" > /etc/nginx/conf.d/default.conf
nginx -g "daemon off;"