databag icon indicating copy to clipboard operation
databag copied to clipboard

How do I set this up inside the domain on the path?

Open morrisae opened this issue 1 year ago • 5 comments

How do I set this up inside the domain on the path? Is it possible?

Example: "example.com/databag" instead of "databag.example.com".

morrisae avatar Oct 11 '24 21:10 morrisae

Sorry for the late response. I rely on my email for notifications, and have been getting lots of spam...

I was able to get this working with nginx_proxy_manager. In 'custom locations', I added a path, and then added this block:

location /<path> {
  proxy_pass http://<internal ip>:<internal port>/;
}

balzack avatar Oct 29 '24 19:10 balzack

Please share screenshots of the configuration nginx_proxy_manager

morrisae avatar Oct 29 '24 19:10 morrisae

Here I tested with the path '/db':

Screenshot 2024-10-29 at 12 57 32 PM

balzack avatar Oct 29 '24 19:10 balzack

It doesn't work for me. he visits the site, but does not load anything because he tries to read files from the root path ~~I did everything as in the screenshot and tried with nginx overwrites, it does not always request files from the root path~~

morrisae avatar Oct 29 '24 20:10 morrisae

Hmm, perhaps I misunderstood your question.

I think the above config allows for a container to be reached at a specified host/path.

Alternatively, the app server can add a path prefix and still respond to the same hostname. This wouldn't allow for a different path prefix to be used by another app server, so I think I still misunderstand.

balzack avatar Oct 29 '24 21:10 balzack