7 lines
108 B
Bash
7 lines
108 B
Bash
#!/bin/sh
|
|
if ! /bin/nginx -tq; then
|
|
# print configuration errors
|
|
/bin/nginx -t
|
|
exit 1
|
|
fi
|
|
exec nginx 2>&1
|