Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statics in /resources are not served from Tomcat 9 #387

Closed
abelsromero opened this issue Feb 11, 2018 · 2 comments
Closed

Statics in /resources are not served from Tomcat 9 #387

abelsromero opened this issue Feb 11, 2018 · 2 comments

Comments

@abelsromero
Copy link

Hi,

I am deploying the WAR from the releases section in a Tomcat on Ubuntu and I see that the static content is not served.
I can start the app, but when I log into the admin console I see that things under /resources return 404.
For instance, https://my-domain/resources/angular-templates/admin/partials/configuration/basic-settings.html.

Is that by design?

@abelsromero
Copy link
Author

OK, the issue seems to be some url that point to the absolute path /.
Deploying as ROOT fixed the issue, but still I think it would be nice to be able to deploy with a web app context.

@cbellone
Copy link
Member

Hi @abelsromero,

thank you very much for your feedback.

Supporting this kind of use case is not a priority for us, since we don't have any production instance that would need it. But if you're interested and willing to help, we would be very happy to receive a PR for that.

Thanks!
Celestino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants