hi everyone , on my vps , i have a v2ray panel on sub1.mydomain.com:8880 and a panel on sub1.mydomain.com:8081 , now i need to create a subscribe file for my v2ray users and share it, so everyone can download this file from my vps , for example when someone goes to :
mydomain.com/sub/sub1.txt or sub1.mydomain.com/sub/sub1.txt
they manage to open or download this file from my vps . how can i do it ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
So after you are using v2ray, I would assume you are using Nginx as a reverse proxy. In that case in your Nginx configuration for your both mydomain.com and sub1.mydomain.com you can add the following Nginx block: