This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuisei-url.conf
47 lines (34 loc) · 1.85 KB
/
suisei-url.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
server {
server_name sui.outv.im suisei.outv.im s.outv.im;
listen 443 ssl http2;
include /etc/nginx/conf.d/tls-cert.conf;
add_header "X-Sui-Chan-Wa" "KyouMoKawaii";
location /y { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A; }
location /yt { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A; }
location /youtube { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A; }
location /channel { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A; }
location /sub { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A?sub_confirmation=1; }
location /b { return 307 https://space.bilibili.com/9034870; }
location /bili { return 307 https://space.bilibili.com/9034870; }
location /bilibili { return 307 https://space.bilibili.com/9034870; }
location /live {
alias /var/www/suisei/live;
}
location /l {
alias /var/www/suisei/live;
}
location /lb { return 307 https://live.bilibili.com/190577; }
location /l/b { return 307 https://live.bilibili.com/190577; }
location /live/bilibili { return 307 https://live.bilibili.com/190577; }
location /ly { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A/live; }
location /l/y { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A/live; }
location /live/youtube { return 307 https://www.youtube.com/channel/UC5CwaMl1eIgY8h02uZw7u8A/live; }
location /t { return 307 https://twitter.com/suisei_hosimati; }
location /tw { return 307 https://twitter.com/suisei_hosimati; }
location /twitter { return 307 https://twitter.com/suisei_hosimati; }
location / {
return 307 https://github.com/suisei-cn/suisei-url;
}
access_log /var/log/nginx/acc.sui.log;
error_log /var/log/nginx/err.sui.log;
}