You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011 |
- #!/bin/sh
-
- [[ -f ./setup ]] && source ./setup
-
- if ! nginx -q -t -c /etc/nginx/nginx.conf; then
- echo "Bad nginx configuration file"
- exit 1
- fi
-
- exec 2>&1 # pipe stderr to stdout
- exec nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|