10 lines
191 B
Bash
10 lines
191 B
Bash
#!/bin/sh
|
|
set -xe
|
|
|
|
HOSTNAME=$(cat /etc/hostname)
|
|
cat << EOF > /usr/share/nginx/html/index.html
|
|
hello my friend, this is backend host "${HOSTNAME}" speaking.
|
|
have a nice day, mate.
|
|
EOF
|
|
|
|
exit 0 |