Initial: Project justice — nginx srv1361159.hstgr.cloud
Made-with: Cursor
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
SRC="$(cd "$(dirname "$0")/.." && pwd)/nginx/srv1361159.hstgr.cloud"
|
||||
DST="/etc/nginx/sites-available/srv1361159.hstgr.cloud"
|
||||
install -o root -g root -m 644 "$SRC" "$DST"
|
||||
nginx -t
|
||||
systemctl reload nginx
|
||||
echo "OK: deployed $SRC -> $DST and nginx reloaded."
|
||||
Reference in New Issue
Block a user