From 9843ef15e5225efe608bc124aa461b83912ccf6d Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 13 Nov 2022 09:18:18 +0000
Subject: [PATCH] Ship robots.txt

---
 Dockerfile        | 1 +
 docker/robots.txt | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 docker/robots.txt

diff --git a/Dockerfile b/Dockerfile
index 1b0bfc0a..1cc164ba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,6 +16,7 @@ COPY --from=build /build/app/ /opt/noblogs/www
 COPY docker/htaccess /opt/noblogs/www/.htaccess
 COPY docker/htaccess-noindex /opt/noblogs/www/wp-admin/.htaccess
 COPY docker/htaccess-noindex /opt/noblogs/www/wp-includes/.htaccess
+COPY docker/robots.txt /opt/noblogs/www/robots.txt
 COPY docker/wp-config.php /opt/noblogs/www/wp-config.php
 COPY docker/wp-cache-config.php /opt/noblogs/www/wp-content/wp-cache-config.php
 COPY docker/conf /tmp/conf
diff --git a/docker/robots.txt b/docker/robots.txt
new file mode 100644
index 00000000..45968491
--- /dev/null
+++ b/docker/robots.txt
@@ -0,0 +1,2 @@
+User-Agent: *
+Disallow: /register
-- 
GitLab