• ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 年前

    If your reverse proxy is Traefik I would suggest This plugin which pulls the robot.txt from This GitHub repository.

    I honestly should’ve setup a robots.txt a long time ago.

    • xthexder@l.sw0.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 年前

      Unfortunately robots.txt only stops the well behaved scrapers. Even with disallow all, you’ll still get loads of bots. Setting up the web server to block those user agents would work a bit better, but even then there’s bots out there crawling using regular browser user agents.