File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ COPY wait-for-it.sh /wait-for-it.sh
7676RUN chmod +x /wait-for-it.sh
7777COPY entrypoint.sh /entrypoint.sh
7878COPY LocalSettings.php.template /LocalSettings.php.template
79+ COPY robots.txt /var/www/html/w/robots.txt
7980COPY images /var/www/html/w/images_repo/
8081ENV MW_SITE_NAME=wikibase-docker\
8182 MW_SITE_LANG=en
@@ -110,4 +111,4 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
110111RUN printf '[PHP]\n date.timezone = "Europe/Berlin"\n ' > /usr/local/etc/php/conf.d/tzone.ini
111112
112113ENTRYPOINT ["/bin/bash" ]
113- CMD ["/entrypoint.sh" ]
114+ CMD ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1+ User-agent: *
2+ Disallow: /w/index.php?title=Special:
3+ Disallow: /wiki/Special:
4+ Disallow: /w/api.php
5+ Disallow: /w/rest.php
6+ Disallow: /w/load.php
7+
8+ Disallow: /*?action=edit
9+ Disallow: /*?action=history
10+ Disallow: /*?diff=
11+ Disallow: /*?oldid=
12+ Disallow: /*?printable=
13+ Disallow: /*&action=edit
14+ Disallow: /*&action=history
15+ Disallow: /*&diff=
16+ Disallow: /*&oldid=
17+
18+ Disallow: /wiki/Special:EntityData/
19+ Disallow: /w/index.php?title=Special:EntityData
You can’t perform that action at this time.
0 commit comments