slogsdon / elixir-reverse-proxy

A Plug based, reverse proxy server written in Elixir.
https://hex.pm/packages/reverse_proxy
MIT License
147 stars 34 forks source link

SPA applications #19

Open houmanka opened 6 years ago

houmanka commented 6 years ago

Hi, I have a SPA application in Angular 4. I rendered it and placed it under the Static folder.

Now when I go to the / I get 404 however when I go to /index.html I get my site loaded. Will your library fix this issue?

Thank you in advance

slogsdon commented 6 years ago

Hi @houmanka! What web/application server are you using upstream? The web/application server you're using should be able to handle loading / and /index.html as the same "route", and depending on what you're using, I may be able to help further.

Sadly, this project really isn't intended to be a standalone web/application server and should be paired with web/application to handle such scenarios.