Code Monkey home page Code Monkey logo

Comments (6)

wulabing avatar wulabing commented on May 21, 2024

:)没有想过这个问题,按道理来说修改成一致的以后应该可以用。需要修改nginx配置文件中 location的path 和V2ray配置文件中的 UUID

from xray_onekey.

nemo2018 avatar nemo2018 commented on May 21, 2024

简单。用cf。
我就是这样的,一个域名,前面加子域名,4个vps。
不需要他做CDN,就只让他做DNS解析。随便你配置多少个ip。

from xray_onekey.

nemo2018 avatar nemo2018 commented on May 21, 2024

不用CF也行,就在域名管理里面随便加。

from xray_onekey.

pjomvndy avatar pjomvndy commented on May 21, 2024

@wulabing 试过了,不行,这样弄的话,单个账号都不能用了,好象是一个域名绑定两个ip无法正常使用。

from xray_onekey.

pjomvndy avatar pjomvndy commented on May 21, 2024

@nemo2018 你的方法是把一个域名分成子域名,然后变成了多个config.json,客户端分开使用,对吧?如果想一个客户端就能调用这个域名的所有vps服务器,怎么做?说白了就是想做到负载均衡。

from xray_onekey.

nemo2018 avatar nemo2018 commented on May 21, 2024

@pjomvndy 对。
本质上你这个需求和vps提供服务无关,完全是怎么设置dns的问题。
你有多个vps,多个ip地址对不对?
加A记录就行了。一条A记录一个ip。
负载均衡又是另一个问题。

from xray_onekey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.