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

Merge pull request #95 from YunoHost-Apps/master

Add robots.txt information
This commit is contained in:
yalh76 2020-01-12 21:11:37 +01:00 committed by GitHub
commit 2589bb5f58
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`. 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. 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 php commands and php version
Pixelfed might require some command line instructions if you want to make manual changes to your configuration. Pixelfed might require some command line instructions if you want to make manual changes to your configuration.