10 lines
201 B
Bash
Executable File
10 lines
201 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DOMAIN="gordi.ngtech.home"
|
|
|
|
bash /gen-self-signed-cert.sh "${DOMAIN}"
|
|
|
|
stat /var/lib/nginx/html/index.html && rm -vf /var/lib/nginx/html/index.html
|
|
nginx -T
|
|
nginx -g 'daemon off;'
|