mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2025-01-03 03:10:04 -05:00
Update README.md
This commit is contained in:
parent
744163c182
commit
0383dc49fa
1 changed files with 1 additions and 35 deletions
36
README.md
36
README.md
|
@ -56,40 +56,6 @@ Heres some other notable twitch projects
|
||||||
- [Twineo](https://codeberg.org/CloudyyUw/twineo), A alternative twitch frontend
|
- [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
|
# Screenshots
|
||||||
| Images | More Images |
|
| Images | More Images |
|
||||||
|------------------------------------------------------|---|
|
|------------------------------------------------------|---|
|
||||||
|
@ -134,7 +100,7 @@ If you host a SafeTwitch instance and would like it to be listed in the readme,
|
||||||
| [ttv.vern.cc](https://ttv.vern.cc) | 🇺🇸 | #12 | ❌ |
|
| [ttv.vern.cc](https://ttv.vern.cc) | 🇺🇸 | #12 | ❌ |
|
||||||
| [safetwitch.frontendfriendly.xyz](https://safetwitch.frontendfriendly.xyz/) | 🇺🇸 | #16 | ❌ |
|
| [safetwitch.frontendfriendly.xyz](https://safetwitch.frontendfriendly.xyz/) | 🇺🇸 | #16 | ❌ |
|
||||||
| [ttv.femboy.band](https://ttv.femboy.band) | 🇺🇸 | #29 | ✅ |
|
| [ttv.femboy.band](https://ttv.femboy.band) | 🇺🇸 | #29 | ✅ |
|
||||||
|
| [twitch.seitan-ayoub.lol](https://twitch.seitan-ayoub.lol) | 🇩🇪 | Hetnzer VPS| ❌|
|
||||||
### Onion
|
### Onion
|
||||||
| URL | Country | Info |
|
| URL | Country | Info |
|
||||||
|---------------------------|---------|---------|
|
|---------------------------|---------|---------|
|
||||||
|
|
Loading…
Reference in a new issue