5 lines
127 B
Bash
5 lines
127 B
Bash
|
#!/bin/sh
|
||
|
hostname=`hostname -f`
|
||
|
sed -i "s/XXX/${hostname}/" /usr/share/nginx/html/index.html
|
||
|
/usr/sbin/nginx -g "daemon off;"
|