GithubHelp home page GithubHelp logo

Comments (3)

Romaleks360 avatar Romaleks360 commented on September 25, 2024 1

That's what i meant:

/  ->  myproject.landing-page-builder.com (user sees mydomain.com)
/literally-any-subpath -> localhost:2048/literally-any-subpath (user sees mydomain.com/literally-any-subpath)

Would be nice to have this feature.

But I already solved this without Zoraxy. I moved my app and API to the subdomain (app.mydomain.com) and routed it to my server with Cloudflare DNS A-record, while the domain.com A-record always routes to the landing page.

This required changing the app links and architecture a bit, but it seems like the more correct way to do such things. So no more complex setup is needed at reverse proxy! Anyway, thanks for the help.

from zoraxy.

tobychui avatar tobychui commented on September 25, 2024

Hmmm do you mean "Virtual Directory"?
Can you give me a list of subpaths and their proxy endpoint you want? I will see what I can help and suggest. e.g.

/  ->  myproject.landing-page-builder.com (keep URL?)
/api -> localhost:8080/something/api
/res -> 192.168.0.100:80/resources

from zoraxy.

tobychui avatar tobychui commented on September 25, 2024

The feature you are asking for is called virtual directory wildcard.
But yes, in your use case, using a subdomain with a DNS record pointing to another IP address is the standard way to do it.

from zoraxy.

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.