Commit Graph

50 Commits

Author SHA1 Message Date
Kavin 4059da180b
Allow disabling on the fly webp conversion. 2022-07-03 02:02:23 +01:00
Kavin 0816001b24
Add option to disable ipv6. 2022-06-27 13:25:31 +01:00
Kavin cae96be92a
Add support to convert jpeg images to webp on the fly. 2022-06-03 03:33:51 +01:00
Kavin 1a64b5a446
Change "Referrer" to "Referer" 2022-05-18 13:50:31 +01:00
Kavin 4aa7d3ee73
Fix logic for header copying. 2022-05-18 13:32:39 +01:00
Kavin 4c74225413
Strip request information properly. 2022-05-17 11:19:57 +01:00
Kavin d759617d1f
Increase write timeout to prevent forcibly closing connections. 2022-04-18 09:33:19 +01:00
Kavin 696c07b8c7
Add odycdn.com to whitelisted hostnames. 2022-03-21 18:03:51 +00:00
Kavin e44f1e55b7
Use BuildX's cache mount for caching. 2022-03-04 19:31:27 +00:00
Kavin 779777b9b6
Include Content-Length header on non-rewritten content. 2022-03-04 19:28:09 +00:00
Andrea Spacca f8ac0ac914
Fix bug on url building (#5)
* fix path_prefix prepend

* set query

* remove path_prefix from path

* revert query set, remove debug

* print debug

* remove debug

* cr fix

* Add newline back.

Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-11-24 17:43:19 +00:00
Andrea Spacca e6a0f39557
Allow to prepend a path prefix in case proxy is not hosted on root of the domain (#4)
* allow path_prefix on proxied url

* add debug print, skip Authorization header

* remove debug print

* cr fixes
2021-11-17 13:14:51 +00:00
FireMaskterK e615be63e4
Rewrite HLS manifest URLs. 2021-11-07 18:23:39 +00:00
FireMasterK f3ef98fbfe
Rewrite HLS manifest to include hostname and path. 2021-09-05 18:19:33 +05:30
FireMasterK 81577419a7
Update quic-go. 2021-09-02 21:19:29 +05:30
FireMasterK a484dfd22b
Add support for *.lbryplayer.xyz. 2021-09-02 19:14:01 +05:30
FireMasterK 7dd806014c
Add support for *.googleusercontent.com. 2021-08-04 20:30:40 +05:30
FireMasterK 016a677be7
Restrict to YouTube related domains 2021-07-21 23:53:27 +05:30
FireMasterK 6019c4efd1
Increase ttfb timeout to 20 seconds. 2021-06-20 16:08:02 +05:30
FireMasterK 5cc0755b92
Add support for hosts in /host/ 2021-06-20 12:49:07 +05:30
FireMasterK 49e3e100cd
Fix path not being rewritten for maxres.jpg. 2021-06-20 12:38:57 +05:30
FireMasterK f95f1a8540
Remove debug code. 2021-06-10 02:42:39 +05:30
FireMasterK a16e640799
Fix for Errors/404s with no path. 2021-06-10 02:41:57 +05:30
FireMasterK 66de98358b
Fix bug when dealing with encoded paths. 2021-06-10 01:52:02 +05:30
FireMasterK 2d96fc49a1
Update golang version to 1.16 2021-05-17 16:51:14 +05:30
FireMasterK b6bc0ba945
Improve performance by not limiting connections and forcing http/2. 2021-04-09 20:07:35 +05:30
FireMasterK 413e15199b
Revert "Async copy."
This reverts commit 916df915b3.
2021-04-09 14:27:47 +05:30
FireMasterK 60eb517839
Reduce keep-alive to 30 seconds. 2021-04-09 14:20:14 +05:30
FireMasterK 916df915b3
Async copy.
To improve performance, this results in better consistent average latency but lower throughput in some cases.
2021-04-09 14:19:38 +05:30
FireMasterK 17bc0c3321
Add request timeouts. 2021-03-12 12:29:53 +05:30
FireMasterK 0badc6c3d7
Faster server implementation. 2021-03-04 14:27:42 +05:30
FireMasterK d5045e5a1d proxy: don't panic when no host is specified 2021-01-20 11:47:24 +05:30
FireMasterK 4bc7cb1764 routes: just proxy everything 2021-01-12 14:08:38 +05:30
FireMasterK 675ada1905
Patch for invidious live streams. 2020-12-10 19:07:10 +05:30
FireMasterK b7fdac0c1b
Add support for LBRY's streams. 2020-11-22 12:22:43 +05:30
FireMasterK a8981a44c7 Add support for /ytc/ - channel avatars. 2020-11-14 01:06:08 +05:30
FireMasterK 002de23657 Add support for webp. 2020-11-13 13:15:51 +05:30
FireMasterK eb64ae2cbe Add support for Invidious's storyboard. 2020-11-12 14:41:17 +05:30
FireMasterK 3ba265d0ea Add support for Invidious's maxres.jpg. 2020-10-27 15:30:24 +05:30
FireMasterK 3680e840d1 Close Body after reading. 2020-10-25 16:46:16 +00:00
FireMasterK f844b7a793 Don't use QUIC as it's unstable. 2020-10-25 15:57:05 +00:00
FireMasterK 2fe47dd911 Change folder of unix socket. 2020-10-25 14:01:23 +00:00
FireMasterK 47e88064a1 Remove ppc64le as it fails to build. 2020-10-25 13:33:41 +00:00
FireMasterK d4504baf55 Remove s390x as it fails to build. 2020-10-25 13:26:28 +00:00
FireMasterK 3886f202cf Automatically build images. 2020-10-25 13:22:38 +00:00
FireMasterK cf6ab21cd8 Add a Dockerfile 2020-10-25 13:03:34 +00:00
FireMasterK f955cc04da Fix unix socket binding if it already exists. 2020-10-25 12:52:02 +00:00
FireMasterK 4cdba58f8e Working release. 2020-10-25 18:11:17 +05:30
FireMasterK 27ffcc7eee Initial QUIC test. 2020-10-24 15:47:41 +00:00
FireMasterK ae3c8706d3
Initial commit 2020-10-24 00:32:25 +05:30