mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-12 17:44:31 +00:00
Update pixelfed.php config
This commit is contained in:
parent
6a21fe3e03
commit
c6a602e324
1 changed files with 67 additions and 12 deletions
|
@ -2,19 +2,74 @@
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Domains
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Application domains used for routing
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'domain' => [
|
||||||
|
'admin' => env('ADMIN_DOMAIN'),
|
||||||
|
'app' => env('APP_DOMAIN'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| PixelFed Version
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value is the version of your PixelFed instance.
|
||||||
|
|
|
||||||
|
*/
|
||||||
'version' => '0.1.0',
|
'version' => '0.1.0',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| NodeInfo Route Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Do not change this value unless you know what you are doing.
|
||||||
|
|
|
||||||
|
*/
|
||||||
'nodeinfo' => [
|
'nodeinfo' => [
|
||||||
'url' => config('app.url') . '/' . 'api/nodeinfo/2.0.json'
|
'url' => config('app.url') . '/' . 'api/nodeinfo/2.0.json'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| PHP/ImageMagic/GD Memory Limit
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This memory_limit value is only used for image processing. The
|
||||||
|
| default memory_limit php.ini is used for the rest of the app.
|
||||||
|
|
|
||||||
|
*/
|
||||||
'memory_limit' => '1024M',
|
'memory_limit' => '1024M',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Restricted Usernames
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Optional blacklist to prevent registering usernames that could
|
||||||
|
| be confused for admin or system services.
|
||||||
|
|
|
||||||
|
*/
|
||||||
'restricted_names' => [
|
'restricted_names' => [
|
||||||
'reserved_routes' => true,
|
'reserved_routes' => true,
|
||||||
'use_blacklist' => false
|
'use_blacklist' => false
|
||||||
],
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Allow New Registrations
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Enable/disable new local account registrations.
|
||||||
|
|
|
||||||
|
*/
|
||||||
'open_registration' => env('OPEN_REGISTRATION', true),
|
'open_registration' => env('OPEN_REGISTRATION', true),
|
||||||
|
|
||||||
];
|
];
|
Loading…
Reference in a new issue