diff options
author | lain <lain@soykaf.club> | 2020-08-18 12:38:13 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-08-18 12:38:13 +0200 |
commit | 548ca43bcf9ed72a70bd98f074241dbb0e7801ec (patch) | |
tree | e32fafa13056d489c27a0b7a4afab6ca641b14ba /docs/administration/CLI_tasks/robots_txt.md | |
parent | 7a273087ed7b49dedd821ca69a6e09d5f893c913 (diff) | |
parent | 34b099fffa64c20d42c417abb06e0e32a5ad296a (diff) | |
download | pleroma-548ca43bcf9ed72a70bd98f074241dbb0e7801ec.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/validators_use_ectotypes
Diffstat (limited to 'docs/administration/CLI_tasks/robots_txt.md')
-rw-r--r-- | docs/administration/CLI_tasks/robots_txt.md | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/administration/CLI_tasks/robots_txt.md b/docs/administration/CLI_tasks/robots_txt.md index 844318cc8..7eeedf571 100644 --- a/docs/administration/CLI_tasks/robots_txt.md +++ b/docs/administration/CLI_tasks/robots_txt.md @@ -8,10 +8,14 @@ The `robots.txt` that ships by default is permissive. It allows well-behaved sea If you want to generate a restrictive `robots.txt`, you can run the following mix task. The generated `robots.txt` will be written in your instance [static directory](../../../configuration/static_dir/). -```elixir tab="OTP" -./bin/pleroma_ctl robots_txt disallow_all -``` +=== "OTP" -```elixir tab="From Source" -mix pleroma.robots_txt disallow_all -``` + ```sh + ./bin/pleroma_ctl robots_txt disallow_all + ``` + +=== "From Source" + + ```sh + mix pleroma.robots_txt disallow_all + ``` |