1
0
mirror of https://github.com/r4sas/recastin-panel synced 2025-08-26 13:31:47 +00:00

Added cache hint

This commit is contained in:
Shyim 2018-04-29 12:55:52 +02:00
parent e4ee5da96c
commit 37f9d7dad8
2 changed files with 12 additions and 7 deletions

View File

@ -16,14 +16,18 @@ ReCast is a multi platform streaming tool written in PHP and uses nginx RTMP. Yo
* Environment variable ``APP_HOST`` should point to a http server, nginx rtmp does not support https.
### Environment variable overview
| Name | Description | Example |
|-----------------------|-------------------------------------------------------------------|--------------------------------------------------|
| APP_HOST | URL which is used in nginx rtmp conf, This address must be http | http://try.recast.in |
| APP_ENV | Which environment it runs | prod |
| DATABASE_URL | Database credentials as URL | DATABASE_URL=mysql://USER:PASS@HOST:3306/DB_NAME |
| NGINX_CONFIG_DIR | Folder where nginx.conf is located | /opt/nginx-rtmp/conf/ |
| NGINX_RELOAD_COMMAND | Reload command for nginx rtmp | systemctl reload nginx-rtmp |
| Name | Description | Example |
|---------------------------|-------------------------------------------------------------------|--------------------------------------------------|
| APP_HOST | URL which is used in nginx rtmp conf, This address must be http | http://try.recast.in |
| APP_ENV | Which environment it runs | prod |
| APP_REGISTRATION_ENABLED | Toggles registration form | true |
| DATABASE_URL | Database credentials as URL | DATABASE_URL=mysql://USER:PASS@HOST:3306/DB_NAME |
| NGINX_CONFIG_DIR | Folder where nginx.conf is located | /opt/nginx-rtmp/conf/ |
| NGINX_RELOAD_COMMAND | Reload command for nginx rtmp | systemctl reload nginx-rtmp |
## Free hosted version
We have also on https://app.recast.in a free to use ReCast setup.
**Docker Setup will be following**

View File

@ -85,6 +85,7 @@ class SetupCommand extends Command
file_put_contents($envs['JWT_PUBLIC_KEY_PATH'], $pubKey);
$io->success('JWT Tokens generated');
$io->warning('Please clear cache using command cache:clear');
}
/**