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

作者大大, 我想把path中/proxy/路径加上该怎么改? #35

Closed
Tmalll opened this issue Feb 10, 2025 · 3 comments
Closed

作者大大, 我想把path中/proxy/路径加上该怎么改? #35

Tmalll opened this issue Feb 10, 2025 · 3 comments
Labels
duplicate This issue or pull request already exists help-wanted Want some help wontfix This will not be worked on

Comments

@Tmalll
Copy link

Tmalll commented Feb 10, 2025

我不想设置哪个密码验证, 打算在路径中添加个长path来作为token来使用, 另外 / 跟路径中什么都不要显示, 这样好藏起来用, 怕被mjj们扫出来滥用

https://pxy/很长很长的path/https://www.google.com 大概就是这样....

然后MJJ们访问 https://pxy/ 的时候什么都不要显示就行了.

Repository owner deleted a comment from Empty0Qc Feb 10, 2025
@1234567Yang 1234567Yang added the help-wanted Want some help label Feb 10, 2025
@1234567Yang
Copy link
Owner

我不知道是哪个教程还是啥的 现在好多人都跟我说这个目录,但是 路径暂时不支持(以后支持的概率也很小,因为如果要改成Path需要耗费大量精力重构),因为Cookie的技术更先进也更方便,而且路径会让界面上资源加载更麻烦一些。设置Cookie会有同样的效果的(也是会被加密,而且更不影响使用),而且那个密码界面也没啥 特别的(你也可以自己加几个元素)。

所以现在我实在没搞懂Cookie和设置Path比起来只有好处,为啥不使用Cookie?

重复:#25

@1234567Yang 1234567Yang added the duplicate This issue or pull request already exists label Feb 10, 2025
@Tmalll
Copy link
Author

Tmalll commented Feb 10, 2025

用cookies局限性太大了,很多没法调用cookies的场景都不能用,比如反代docker源,apt源,反代dns,写脚本之类的(doge) 感觉用起来很不方便。

@1234567Yang
Copy link
Owner

1234567Yang commented Feb 11, 2025

用cookies局限性太大了,很多没法调用cookies的场景都不能用,比如反代docker源,apt源,反代dns,写脚本之类的(doge) 感觉用起来很不方便。

如果是这样的话其实Cloudflare还提供了免费的WAF,可以自定义5条规则,你把你的IP设置成白名单就好了(ALLOW, BYPASS ALL RULE),然后底下加一条如果国家不是 (某非洲小国) 就阻止 (BLOCK)。

由于修改实在是力不从心,所以不会支持这个功能的,还请谅解。如果没有问题就先Close了,有问题的话欢迎再提出来。谢谢~

@1234567Yang 1234567Yang added the wontfix This will not be worked on label Feb 12, 2025
@1234567Yang 1234567Yang closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists help-wanted Want some help wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants