NewTube/proxy.conf.json
2025-09-14 23:05:30 -04:00

75 lines
1.5 KiB
JSON

{
"/proxy/yt": {
"target": "https://www.googleapis.com",
"secure": true,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/yt": ""
}
},
"/proxy/dm": {
"target": "https://api.dailymotion.com",
"secure": true,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/dm": ""
}
},
"/proxy/twitch-api": {
"target": "https://api.twitch.tv",
"secure": true,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/twitch-api": ""
}
},
"/proxy/twitch-auth": {
"target": "https://id.twitch.tv",
"secure": true,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/twitch-auth": ""
}
},
"/proxy/odysee": {
"target": "https://api.na-backend.odysee.com",
"secure": true,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/odysee": ""
}
},
"/proxy/rumble": {
"target": "https://rumble.com/api/v0",
"secure": true,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/rumble": ""
}
},
"/api/rumble": {
"target": "http://localhost:4000",
"secure": false,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/api/rumble": "/api/rumble"
}
},
"/proxy/api": {
"target": "http://localhost:4000",
"secure": false,
"changeOrigin": true,
"logLevel": "debug",
"pathRewrite": {
"^/proxy/api": "/api"
}
}
}