1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Add robots.txt information

This commit is contained in:
lapineige 2020-01-12 17:45:43 +01:00 committed by GitHub
parent 7fa86c3e6e
commit 50e81aa8b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,15 @@ Registrations are open by default.
To change that setting, edit `/var/www/pixelfed/.env` and set `OPEN_REGISTRATION=false` instead of `true`.
Then run `php7.3 artisan config:cache` to reload the settings.
### Disable search engine indexing
If you don't want your Pixelfed instance to be indexed in search engine (and so on), edit `/var/www/pixelfed/public/robots.txt` like this:
```
User-agent: *
Disallow: /
```
Note: search engines will see that files and may or may not respect its content.
### Pixelfed php commands and php version
Pixelfed might require some command line instructions if you want to make manual changes to your configuration.