Frontend is not available (behind a reverse proxy, e.g. via heroku)
See original GitHub issueOverview of the issue
The newly introduced caching configuration makes the frontend not delivered when deployed on heroku (but I guess it a more general problem).
Motivation for or Use Case
It should just work.
Reproduce the error
Generate an application (from latest master) and deploy it to heroku. You will see the failure pacman. If you disable or remove the new StaticResourcesWebConfiguration
it just works fine.
The error I see in the heroku logs is a 404 when requesting the static resources.
Suggest a Fix
Not sure, disabling the StaticResourcesWebConfiguration
is not good as caching will be affected.
JHipster Version(s)
Latest master
- Checking this box is mandatory (this is just to show you read everything)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Setting Up Reverse Proxy in Heroku Using Nginx
In this blog post, we will show you how to deploy nginx as a reverse proxy on Heroku.
Read more >Fixing the CORS error by hosting your own proxy on Heroku
It is a Node.js reverse proxy that adds CORS headers to our API requests. ... step-by-step process of installing and using the Heroku...
Read more >Add a reverse proxy to heroku - Stack Overflow
This will place nginx in front of your rails app, and allow you to reverse proxy requests on this domain, having your heroku...
Read more >How to Setup Proxy Server for ReactJS and Node on Heroku ...
This article will walk you step by step on how to setup a proxy on Heroku using Docker and Nginx. I will also...
Read more >HTTP Routing | Heroku Dev Center
There is no coordination between routers however, so this request limit ... Heroku HTTP Request ID; Via : a code name for the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just checked it with heroku and it works fine, thanks @pascalgrimaud & @monxxi
need to investigate, as it works with default packaging in local but it’s broken behind a reverse proxy ?
cc @monxxi