portable-portainer/start_nginx.sh

5 lines
127 B
Bash
Raw Normal View History

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