500-status-page 285 B

123456789101112131415
  1. #!/bin/sh
  2. uci batch <<-EOF
  3. delete uhttpd.main.listen_http
  4. add_list uhttpd.main.listen_http=0.0.0.0:80
  5. add_list uhttpd.main.listen_http=[::]:80
  6. delete uhttpd.main.listen_https
  7. set uhttpd.main.home=/lib/gluon/status-page/www
  8. set uhttpd.main.max_requests=12
  9. commit uhttpd
  10. EOF