diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-05-15 00:29:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-16 10:50:55 +0200 |
commit | ac235c37e2d7112efbc182e0179cb27e75ef09a1 (patch) | |
tree | 1b209b83a399b3d91229f55d74a1e7f414d5e2cb /config | |
parent | 2efd32f697549c59337db5177a93749af8e605d8 (diff) | |
download | PeerTube-ac235c37e2d7112efbc182e0179cb27e75ef09a1.tar.gz PeerTube-ac235c37e2d7112efbc182e0179cb27e75ef09a1.tar.zst PeerTube-ac235c37e2d7112efbc182e0179cb27e75ef09a1.zip |
robots.txt config and route
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 4 | ||||
-rw-r--r-- | config/production.yaml.example | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index 2826e76f8..995638281 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -90,6 +90,10 @@ instance: | |||
90 | customizations: | 90 | customizations: |
91 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | 91 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime |
92 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime | 92 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |
93 | # Robot.txt rules. To allow robots to crawl your instance and allow indexation of your site, remove the '/' | ||
94 | robots: | | ||
95 | User-agent: * | ||
96 | Disallow: / | ||
93 | 97 | ||
94 | services: | 98 | services: |
95 | # Cards configuration to format video in Twitter | 99 | # Cards configuration to format video in Twitter |
diff --git a/config/production.yaml.example b/config/production.yaml.example index a6f1740fe..71344fa35 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -106,6 +106,10 @@ instance: | |||
106 | customizations: | 106 | customizations: |
107 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | 107 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime |
108 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime | 108 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |
109 | # Robot.txt rules. To allow robots to crawl your instance and allow indexation of your site, remove the '/' | ||
110 | robots: | | ||
111 | User-agent: * | ||
112 | Disallow: / | ||
109 | 113 | ||
110 | services: | 114 | services: |
111 | # Cards configuration to format video in Twitter | 115 | # Cards configuration to format video in Twitter |