chomp/scripts/run-nginx

7 lines
170 B
Bash
Executable File

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