mirror of
https://github.com/alpkeskin/rota.git
synced 2026-04-26 12:16:00 +03:00
[PR #14] [MERGED] Add support for follow redirect and custom host #21
Labels
No labels
bug
bug
bug
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rota#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/alpkeskin/rota/pull/14
Author: @seudnuredin
Created: 4/6/2025
Status: ✅ Merged
Merged: 4/7/2025
Merged by: @alpkeskin
Base:
main← Head:host-and-follow-redirect-support📝 Commits (1)
cd26980Add support for follow redirect and custom host📊 Changes
6 files changed (+28 additions, -6 deletions)
View changed files
📝
README.md(+2 -0)📝
config.yml(+2 -0)📝
internal/config/schema.go(+2 -0)📝
internal/proxy/proxy.go(+6 -3)📝
internal/proxy/proxy_rotation.go(+15 -3)📝
internal/proxy/proxy_types.go(+1 -0)📄 Description
Hi alpkeskin, Thanks for this great tool.
I noticed an issue with automatic redirect following, which is also problematic for me. so, I made it optional via the config file.
I didn't want the proxy server to always bind to all network interfaces, so I modified it to bind to a specific host defined in the config file.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.