smlinux/net/nginx/nginx.run
2022-02-13 15:56:03 +05:30

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