portainer-microbot/start_nginx.sh

5 lines
127 B
Bash
Raw Normal View History

2021-03-30 01:50:06 +00:00
#!/bin/sh
hostname=`hostname -f`
sed -i "s/XXX/${hostname}/" /usr/share/nginx/html/index.html
/usr/sbin/nginx -g "daemon off;"