mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Update README.md
This commit is contained in:
parent
1a50fe8558
commit
95307925cf
1 changed files with 36 additions and 0 deletions
36
README.md
36
README.md
|
@ -52,6 +52,41 @@ Heres some other notable twitch projects
|
|||
- [Streamlink Twitch Gui](https://streamlink.github.io/streamlink-twitch-gui/), A multi platform Twitch.tv browser for Streamlink
|
||||
- [Twineo](https://codeberg.org/CloudyyUw/twineo), A alternative twitch frontend
|
||||
|
||||
|
||||
# WebSockets on NGINX
|
||||
|
||||
To enable WebSockets on NGINX have your NGINX configuration look something like this:
|
||||
|
||||
```
|
||||
server {
|
||||
listen 443 ssl;
|
||||
|
||||
|
||||
server_name twitch-api.seitan-ayoub.lol;
|
||||
ssl_certificate /etc/nginx/certs/_.seitan-ayoub.lol.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/_.seitan-ayoub.lol.key;
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
set $backend "http://safetwitch-backend:7000";
|
||||
location /{
|
||||
|
||||
proxy_pass $backend;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_http_version 1.1;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
# WebSockets
|
||||
upstream chat {
|
||||
ip_hash;
|
||||
server safetwitch-backend:7000;
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
# Screenshots
|
||||
| Images | More Images |
|
||||
|------------------------------------------------------|---|
|
||||
|
@ -59,6 +94,7 @@ Heres some other notable twitch projects
|
|||
| ![ Photo of category ]( images/category.png "title" ) | ![ Photo of streamer ]( images/streamer.png "title" ) |
|
||||
|
||||
|
||||
|
||||
# Donations
|
||||
|
||||
Donations towards development are not accepted. I really thank you for feeling the need to donate, it does mean a lot to me!
|
||||
|
|
Loading…
Reference in a new issue