Add /viewer redirect

This commit is contained in:
Ajay Ramachandran
2021-01-30 11:32:37 -05:00
parent 51a5e97e11
commit f9f7870c0d

View File

@@ -54,10 +54,14 @@ http {
}
location = /news {
location ~ /news* {
return 301 https://blog.ajay.app/sponsorblock;
}
location /viewer {
return 301 https://sb.ltn.fi;
}
location /invidious/ {
proxy_pass https://invidious.fdn.fr/;
}
@@ -86,7 +90,7 @@ http {
proxy_pass http://backend_GET;
}
location =/database.db {
location = /database.db {
alias /home/sbadmin/sponsor/databases/sponsorTimes.db;
}
@@ -141,6 +145,10 @@ http {
server {
access_log off;
error_log /dev/null;
if ($host = api.sponsor.ajay.app) {
return 301 https://$host$request_uri;
} # managed by Certbot