Merge branch 'dev-indep' of https://github.com/ytorg/yotter into dev-indep

This commit is contained in:
pluja 2020-09-26 20:06:39 +02:00
commit 4d992270d8
3 changed files with 11 additions and 10 deletions

View File

@ -17,8 +17,8 @@
location ~ (/videoplayback|/vi/|/a) {
proxy_buffering off;
resolver 1.1.1.1;
proxy_pass https://$arg_hostname;
proxy_set_header Host $arg_hostname;
proxy_pass https://$arg_host;
proxy_set_header Host $arg_host;
add_header Access-Control-Allow-Origin *;
}
```
@ -26,6 +26,7 @@ location ~ (/videoplayback|/vi/|/a) {
3. Reload nginx `sudo service nginx reload`
### Added
- [x] Admins can add a donation link to the Instance - Check `yotter-config.json` after update.
- [x] You can now use `<instance>/registrations_status/icon` and `<instance>/registrations_status/text` to get registrations info.
### Fixed
- [x] Channel images were not proxied.

View File

@ -71,11 +71,11 @@ I always recommend self-hosting, as you will be the only person with access to t
> Important note: The **client** never connects to Google / Youtube however, the server does in order to gather all the necessary things!
# Public Instances
| name |server location|registrations?|
| ------------ | ------------ | ------------ |
| https://yotter.xyz |Germany| Limited (70 users)|
| https://yotter.kavin.rocks/ |India| Limited (100 users)|
| https://yotter.jank.media/ |Germany| Limited (100 users)|
| name |server location|max users|registrations|
| ------------ | ------------ | ------------ |------------|
| https://yotter.xyz |Germany| 70 users|<img src="https://yotter.xyz/registrations_status/icon?1" width="17">|
| https://yotter.kavin.rocks/ |India| 100 users |<img src="https://yotter.kavin.rocks/registrations_status/icon?1" width="15">|
| https://yotter.jank.media/ |Germany| 100 users|<img src="https://yotter.jank.media/registrations_status/icon?1" width="15">|
## Configure the server
You will find in the root folder of the project a file named `yotter-config.json`. This is the global config file for the Yotter server.

View File

@ -192,8 +192,8 @@ server {
location ~ (/videoplayback|/vi/|/a) {
proxy_buffering off;
resolver 1.1.1.1;
proxy_pass https://$arg_hostname;
proxy_set_header Host $arg_hostname;
proxy_pass https://$arg_host;
proxy_set_header Host $arg_host;
add_header Access-Control-Allow-Origin *;
}
}
@ -202,7 +202,7 @@ Make sure to replace `<yourdomain>` by the domain you are willing to use for you
You will also need to change the `</path/to>` after `alias` to fit your system. You have to point to the Yotter folder, in this set up it would be `/home/ubuntu` as it is the location where we cloned the Yotter app. This alias is created to handle static files directly, without forwarding to the application.
Once done, you can run `sudo service nginx reload`
Once done, you can run `sudo service nginx reload`. If everything so far went OK, you can now set the `nginxVideoStream` to `true` on the `yotter-config.json` file.
Now you need to install an SSL certificate on your server so you can use HTTPS. If you are running Ubuntu 20LTS or already have `snap` installed, you can proceed as follows: