Yacd-meta/docker-entrypoint.sh

4 lines
122 B
Bash
Raw Permalink Normal View History

2023-03-06 09:10:48 +08:00
#!/bin/sh
sed -i "s|http://127.0.0.1:9090|$YACD_DEFAULT_BACKEND|" /usr/share/nginx/html/index.html
nginx -g "daemon off;"