-
Notifications
You must be signed in to change notification settings - Fork 0
/
rewrites-encoder.conf
84 lines (63 loc) · 2.13 KB
/
rewrites-encoder.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
location = /Encoder/index.php {
rewrite ^ /Encoder/view/index.php last;
}
location = /Encoder/isAdmin {
rewrite ^ /Encoder/view/isAdmin.php last;
}
location = /Encoder/removeStreamer {
rewrite ^ /Encoder/view/removeStreamer.php last;
}
location = /Encoder/priority {
rewrite ^ /Encoder/view/priority.php last;
}
location = /Encoder/status {
rewrite ^ /Encoder/view/status.php last;
}
location = /Encoder/serverStatus {
rewrite ^ /Encoder/view/status.php?serverStatus=1 last;
}
location = /Encoder/upload {
rewrite ^ /Encoder/view/upload.php last;
}
location = /Encoder/listFiles.json {
rewrite ^ /Encoder/view/listFiles.json.php last;
}
location = /Encoder/deleteQueue {
rewrite ^ /Encoder/view/deleteQueue.php last;
}
location = /Encoder/saveConfig {
rewrite ^ /Encoder/view/saveConfig.php last;
}
location = /Encoder/youtubeDl.json {
rewrite ^ /Encoder/view/youtubeDl.json.php last;
}
location = /Encoder/send.json {
rewrite ^ /Encoder/view/send.json.php last;
}
location = /Encoder/streamers.json {
rewrite ^ /Encoder/view/streamers.json.php last;
}
location = /Encoder/queue.json {
rewrite ^ /Encoder/view/queue.json.php last;
}
location = /Encoder/queue {
rewrite ^ /Encoder/view/queue.php last;
}
location = /Encoder/login {
rewrite ^ /Encoder/objects/login.json.php last;
}
location = /Encoder/logoff {
rewrite ^ /Encoder/objects/logoff.json.php last;
}
location /Encoder/getImage {
rewrite "^/Encoder/getImage/([A-Za-z0-9=/]+)/([A-Za-z0-9]{3})$" "/Encoder/objects/getImage.php?base64Url=$1&format=$2" last;
}
location /Encoder/getImageMP4 {
rewrite "^/Encoder/getImageMP4/([A-Za-z0-9=/]+)/([A-Za-z0-9]{3,4})/([0-9.]+)$" "/Encoder/objects/getImageMP4.php?base64Url=$1&format=$2&time=$3" last;
}
location /Encoder/getSpiritsFromVideo {
rewrite "^/Encoder/getSpiritsFromVideo/([A-Za-z0-9=/]+)/([0-9]+)/([0-9]+)/([0-9:]+)$" "/Encoder/objects/getSpiritsFromVideo.php?base64Url=$1&tileWidth=$2&totalClips=$3&duration=$4" last;
}
location /Encoder/getLinkInfo {
rewrite "^/Encoder/getLinkInfo/([A-Za-z0-9=/]+)$" "/Encoder/objects/getLinkInfo.json.php?base64Url=$1" last;
}