WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Completely containerized multiple SPAs created by CRA with client-side routing accessible through an nginx gateway under different paths

License

Notifications You must be signed in to change notification settings

akullpp/multiple-react-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

multiple-react-nginx

Completely containerized multiple SPAs created by CRA with client-side routing accessible through an nginx gateway under different paths as explained in detail here.

Run

cd vm
docker-compose up

The foo SPA will be available at http://localhost:8080/foo

The bar SPA will be available at http://localhost:8080/bar

Notes

The docker-compose.yml is just for convenience and demonstration purposes, of course the containers should be build with the correct PUBLIC_URL argument and pushed to a registry by your CI.

About

Completely containerized multiple SPAs created by CRA with client-side routing accessible through an nginx gateway under different paths

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published