You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use this docker package in Azure on a bitnami ElasticSearch base VM. By default, the root web site serves an index page that provides links to each of the applications. I used docker port redirect to port 80 to 10080
and then in Apache, use mod_rewrite to map /dashboard/ to 127.0.0.1:10080.
However, when I navigate to http://myvmname.cloudapp.net/dashboard/ the application does display, however, all the the static resources (css, js) are still served off of /static/... ideally the page would serve them from static/... (no leading slash).
I am not sure if it is possible to configure tessera to say which path the static files should come from. I screwed around with apache rewrite for a while, but just couldn't get it correct. I am not that familiar with configuring Apache rewrite.
The text was updated successfully, but these errors were encountered:
@pbolduc Sorry for the long response time - I just never saw the notification from github (I get a lot of those due to work having a couple thousand repos :)).
1 - try using the new development tag; the current dev branch of tessera has more reliable URL manipulation
2 - I don't know about configuring Apache, but this Docker image - https://github.com/aalpern/docker-tessera-test-nginx has an example of configuring tessera to run from a sub path in nginx. In addition to configuring the web server, you need to configure the APPLICATION_ROOT path in tessera's server config.
I was trying to use this docker package in Azure on a bitnami ElasticSearch base VM. By default, the root web site serves an index page that provides links to each of the applications. I used docker port redirect to port 80 to 10080
and then in Apache, use mod_rewrite to map /dashboard/ to 127.0.0.1:10080.
However, when I navigate to http://myvmname.cloudapp.net/dashboard/ the application does display, however, all the the static resources (css, js) are still served off of /static/... ideally the page would serve them from static/... (no leading slash).
I am not sure if it is possible to configure tessera to say which path the static files should come from. I screwed around with apache rewrite for a while, but just couldn't get it correct. I am not that familiar with configuring Apache rewrite.
The text was updated successfully, but these errors were encountered: