mirror of
https://github.com/iv-org/invidious-redirect.git
synced 2024-12-24 15:19:29 -05:00
Merge pull request #20 from iv-org/2022-update
2022 update part 1: Enhancement
This commit is contained in:
commit
4ef05cfd5e
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@ node_modules
|
||||
.vscode
|
||||
*~
|
||||
\#*#
|
||||
build/index.html
|
||||
build/js-licenses.html
|
||||
|
@ -1,9 +0,0 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>Select instance - Invidious</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/static/css/main.css?static=bd312d0b07"><script src="/static/js/main.min.js?static=ceebe78f07" text="text/javascript" defer></script></head><body><noscript><style>.requires-scripts {
|
||||
display: none;
|
||||
}
|
||||
</style></noscript><header class="banner"><div class="logo"></div><h1>Invidious</h1></header><noscript><div class="script-warning"><p>You are seeing the fallback version of this page.<br>
|
||||
Some features are missing.</p><p>JavaScript is required to use the regular page.
|
||||
</p></div></noscript><div class="story"><p>As of September 1st 2020, <mark>invidio.us</mark> has closed down.</p><div class="requires-scripts"><p>To see this content, please select another instance,
|
||||
or <a id="watch-on-youtube">visit directly on YouTube.</a></p></div><noscript><p>To see this content, please select another instance,
|
||||
or <a href="https://www.youtube.com">go to YouTube</a> and find it yourself.
|
||||
</p></noscript></div><div class="instances-table requires-scripts"><table><thead><tr><th scope="col">Domain</th><th scope="col">Health</th><th scope="col">Action</th></tr></thead><tbody id="instances-tbody"><tr class="loading"><td class="loading-td" colspan="3" data-loading-message="Loading instances...">Trying to run scripts...</td></tr></tbody></table></div><noscript><div class="instances-list"><h2>Available instances</h2><ul class="list"><li><a href="https://invidious.snopyta.org">invidious.snopyta.org</a></li><li><a href="https://yewtu.be">yewtu.be</a></li><li><a href="https://invidious.kavin.rocks">invidious.kavin.rocks</a></li><li><a href="https://invidious-us.kavin.rocks">invidious-us.kavin.rocks</a></li><li><a href="https://invidious-jp.kavin.rocks">invidious-jp.kavin.rocks</a></li><li><a href="https://vid.puffyan.us">vid.puffyan.us</a></li><li><a href="https://ytprivate.com">ytprivate.com</a></li><li><a href="https://invidious.namazso.eu">invidious.namazso.eu</a></li><li><a href="https://invidious.silkky.cloud">invidious.silkky.cloud</a></li><li><a href="https://invidious.exonip.de">invidious.exonip.de</a></li><li><a href="https://inv.riverside.rocks">inv.riverside.rocks</a></li><li><a href="https://ytb.trom.tf">ytb.trom.tf</a></li><li><a href="https://y.com.cm">y.com.cm</a></li><li><a href="https://invidious.hub.ne.kr">invidious.hub.ne.kr</a></li><li><a href="https://invidio.xamh.de">invidio.xamh.de</a></li></ul></div></noscript><footer><ul class="footer-link-list"><li><a href="/">Home</a></li><li><a href="https://git.sr.ht/~cadence/invidious-redirect">Source code</a></li><li><a href="https://github.com/iv-org/invidious">Invidious project</a></li><li><a href="/js-licenses.html" data-jslicense="1">JavaScript license</a></li></ul></footer></body></html>
|
@ -1 +0,0 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>JavaScript licenses - Invidious</title><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="/static/css/main.css?static=bd312d0b07"></head><body><header class="banner"><div class="logo"></div><h1>Invidious</h1></header><div class="js-license-table"><table id="jslicense-labels1"><thead><tr><th scope="col">File</th><th scope="col">License</th><th scope="col">Source</th></tr></thead><tbody><tr><td><a href="/static/js/main.min.js">/static/js/main.min.js</a></td><td><a href="http://www.gnu.org/licenses/agpl-3.0.html">GNU-AGPL-3.0-or-later</a></td><td><a href="/static/js/main.js">/static/js/main.js</a></td></tr></tbody></table></div><footer><ul class="footer-link-list"><li><a href="/">Home</a></li><li><a href="https://git.sr.ht/~cadence/invidious-redirect">Source code</a></li><li><a href="https://github.com/iv-org/invidious">Invidious project</a></li><li><a href="/js-licenses.html" data-jslicense="1">JavaScript license</a></li></ul></footer></body></html>
|
@ -1,29 +0,0 @@
|
||||
# In reality, you'd generate the SSL configuration using Mozilla's website:
|
||||
# https://ssl-config.mozilla.org/
|
||||
# This simple example does not do this.
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name invidious-redirect.cadence.moe;
|
||||
return 301 https://invidious-redirect.cadence.moe$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name invidious-redirect.cadence.moe;
|
||||
ssl_certificate /etc/letsencrypt/live/cadence.moe/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/cadence.moe/privkey.pem;
|
||||
|
||||
add_header "strict-transport-security" "max-age=31536000; includeSubDomains; preload";
|
||||
|
||||
root /var/www/invidious-redirect;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
|
||||
location /api {
|
||||
add_header "content-type" "application/json";
|
||||
return 410 "{\"error\":\"This server no longer hosts the Invidious API.\"}\n";
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
footer
|
||||
ul.footer-link-list
|
||||
li: a(href="/") Home
|
||||
li: a(href="https://git.sr.ht/~cadence/invidious-redirect") Source code
|
||||
li: a(href="https://github.com/iv-org/invidious-redirect") Source code
|
||||
li: a(href="https://github.com/iv-org/invidious") Invidious project
|
||||
li: a(href=links.get("/js-licenses.pug") data-jslicense="1") JavaScript license
|
||||
|
@ -24,8 +24,6 @@ html(lang="en")
|
||||
JavaScript is required to use the regular page.
|
||||
|
||||
.story
|
||||
p.
|
||||
As of September 1st 2020, #[mark invidio.us] has closed down.
|
||||
.requires-scripts
|
||||
p.
|
||||
To see this content, please select another instance,
|
||||
|
Loading…
Reference in New Issue
Block a user