You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/22 23:48:03 UTC

[GitHub] [apisix-dashboard] liuxiran commented on pull request #2145: docs: update FAQ.md to include SPA deployment

liuxiran commented on pull request #2145:
URL: https://github.com/apache/apisix-dashboard/pull/2145#issuecomment-925407730


   As @bzp2010 said, we recommend using  APISIX way to solve the problem so that you can experience the advantages of APISIX
   
   > as you known, static SPA index.html not has port.
   
   sorry, I did not got you this point @CGerAJ .  From your doc, let`s suppose that your SPA was deploied in 127.0.0.1:8099, and you can visit 
   `http://127. 0.0.1:8099/` to visit your SPA app. 
   
   you can just publish a route with upstream `127.0.0.1:8099` with uri `/*`, maybe you would wonder how to proxy any uri  to your upstream `/` or `/index.html` right? If so you can refer to `proxy-rewrite` plugin
   Please let me know whether I have any misunderstanding, Thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org