Closed davinkevin closed 3 months ago
Hi! Indeed, it doesn't work. I'm not against moving to something more lightweight than nginx. I'm also considering right now having a Node server to have some API that will be needed for more advanced use cases and a better user experience (e.g., OAuth login), in which case that server may serve the static files as well (or not...).
Yeah, if backend is required, it makes total sense.
If not, right now there is simpler, smaller and something with less CVEs 😇.
It really depends when you plan to introduce the node backend 👍
Even though a backend will be required at some point, I'm not sure I am ready to introduce it right now. If that is not too much work for you, I would gladly accept a PR that solves this issue and uses a more lightweight Web server.
Perfect!
I should be able to do it during this week using my "learning day" time provided by my company.
@pvcnt Done ✅: https://github.com/pvcnt/mergeable/pull/55
Hello 👋
I discover a pretty common error to Single-page-application. When the app is loaded on page like
/settings
, if we do a refresh we get404
fromnginx
.The configuration should be redirect everything to
/
.As a developer of a single page app, I've chosen Static Web Server, which is lighter than
nginx
, has less CVEs and provide the feature I described above with the following configuration:If you want a PR to introduce
Static Web Server
instead ofnginx
, let me know 😇