Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Customisable Path #131

Open
cloudwindy opened this issue Dec 16, 2023 · 3 comments
Open

Feature Request: Customisable Path #131

cloudwindy opened this issue Dec 16, 2023 · 3 comments
Labels
feature Feature request or related

Comments

@cloudwindy
Copy link

Is your feature request related to a problem? Please describe.
I'm using an unusual setup to avoid botnet scans. But it seems the path is fixed at /jsonrpc.

return f"{self.host}:{self.port}/jsonrpc"

Describe the solution you'd like
Removing /jsonrpc would not be a great idea because it changes user behavoir and breaks scripts. So we can instead make an option to disable this behavior.

Describe alternatives you've considered
I'm not aware of any alternatives.

Additional context
Installed with pipx.

@cloudwindy cloudwindy added the feature Feature request or related label Dec 16, 2023
@pawamoy
Copy link
Owner

pawamoy commented Jan 11, 2024

Hi, thanks for the request.

Do you mean aria2c's server is served without the trailing /jsonrpc part? Isn't that hardcoded by aria2c itself? Could you share how you launch aria2c's daemon server, censoring sensitive information? For example, do you use the --interface option or something else?

@cloudwindy
Copy link
Author

Hello, I'm running a caddy https reverse proxy in front of aria2c. I don't find it a good idea to expose 6800 http port so everything is going through the proxy.

@pawamoy
Copy link
Owner

pawamoy commented Jan 15, 2024

Ha, yes, a reverse proxy, of course, didn't think of that :) thanks! Then this feature request is accepted! Pull requests are welcome, otherwise I'll eventually get to it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or related
Projects
None yet
Development

No branches or pull requests

2 participants