Code Monkey home page Code Monkey logo

Comments (4)

cakkineni avatar cakkineni commented on August 24, 2024

hi @dfranssen
I don't think we can change the root path right now, but is this something you can achieve with an nginx container to route requests from http://<reverse.proxy.path>/panamax to http://:3000?

from panamax-ui.

dfranssen avatar dfranssen commented on August 24, 2024

Hi @cakkineni
I think the behaviour will be the same with nginx. Currently I have a rewrite middleware configured in my Vulcand reverse proxy so that /panamax is stripped of the url and routed to the panamax-ui container. The page is rendering partially as the assets are hardcoded to start with /assets/xxx where the reverse proxy expects /panamax/assets/xxx in order to select the correct route (and to strip off the /panamax).

docker logs mailgun_vulcand_latest

ERROR Aug 18 20:52:00.018: [proxy.go:73] Request(id=150, method=GET, url=/assets/application.css?body=1, attempts=0) failed to route
ERROR Aug 18 20:52:00.018: [proxy.go:73] Request(id=151, method=GET, url=/assets/ctl_base_ui/application.css?body=1, attempts=0) failed to route
...

In my reverse proxy setup the following links should also contain /panamax but currently they don't:

  • http://<reverse.proxy.path>/search/new
  • http://<reverse.proxy.path>/dashboard
  • http://<reverse.proxy.path>/apps
  • http://<reverse.proxy.path>/templates
  • ...

I could add add the assets route and the above ones as a workaround, but this is tedious and error prone.

from panamax-ui.

rupakg avatar rupakg commented on August 24, 2024

@dfranssen While we don't support what you are looking for, but I would be curious to understand your need for it. Panamax was built to act as an independent local application development environment.

from panamax-ui.

bdehamer avatar bdehamer commented on August 24, 2024

@dfranssen please copy your feature request to http://feedback.panamax.io/ and we'll consider it for a future release.

from panamax-ui.

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.