-
Notifications
You must be signed in to change notification settings - Fork 766
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
Auto generate script for all in one configs #145
Conversation
Fancy. Thanks for your work! |
@bghandchi Fantastic work, well done! |
Thank you for merging :) |
@bghandchi why did you change the path for ?ed=2048 . This is to use 0RTT |
@wlfvpn this is actually a mistake from my side. I was making some small changes in my fork. This change was after the pr. Didn't realize it ll automatically included in pr. We can change it back. |
The real reason behind these small changes for me was that the short urls for configs were all okay for Android but there were problems for iOS. I was removing and changing parts of the configs urls to find out what the problem is. |
Before you ask, you may be interested in knowing why I commented out the H2 and TCP configs. The reason is when the domains are behind a cdn eg Cloudflare, those configs won't connect. If the DNS is not proxied in Cloudflare they work perfectly. |
@bghandchi Thanks for clarification. I would still recommend adding ?ed=2048 to the path to optimize 0RTT and also based on :
to avoid detection. I should mention the 0RTT should also be activated from the cloudflare CDN to get the benefit. |
What you should also consider is that the URL format in the previous notes was wrong, I suggest that you pass them through v2rayNG and export them to get the correct URL format. For example the address should not contain "?" or "=" in the values of fields i.e "?path=/vlws?ed=2048" is wrong and "?path=%2Fvlws%3Fed%3D2048" is correct. |
One other note: You can also simplify the usage of sed for the users by using "#" notation in sed, that is, instead of |
Good points. I'll make some changes and make a new pr. As for the usage of sed I agree it can be done better. My plan was to it properly with jq and directly manipulate the jason. This way something like extra domain names can be supported easily. In the meantime anybody has any idea why the TCP and H2 configs won't work when the domain is proxied behind Cloudflare? |
A script to automatically make the necessary changes to the files in the
All in one fallbacks NGINX
folder.Feature: