7 lines
170 B
Bash
7 lines
170 B
Bash
|
#!/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"
|