Customizations can be made by editing in one of the following ways:
- In the Admin page. In Pixelfed, Go back to previous design and then select Admin from the navigation bar. Note that when making changes in the Admin Panel, the app has to be restarted and caches still have to be cleared.
- Editing /app/data/env.production using the File manager. See the Pixelfed docs on the various config options.
Note that any value in the settings UI seems to supersede the value in the
env file. The exact ordering and priority of configuration settings is
unclear.
Don`t forget to restart the app after making any changes.
Disable Registration
Registration can be disabled in the Admin page (see above).
Clear Cache
When making changes via the admin panel, often the cache has to be cleared in addition to an app restart. To clear the cache, open a Web Terminal and run the following commands:
sudo -E -u www-data php artisan cache:clear
sudo -E -u www-data php artisan optimize:clear
sudo -E -u www-data php artisan optimize