chomp/scripts/run-nginx

7 lines
175 B
Bash
Executable File

#!/bin/bash
THIS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
PARENT_DIR="$(dirname $THIS_DIR)"
exec nginx -c "$THIS_DIR/nginx.conf" -p "$PARENT_DIR"