[태그:] IIS
-
To deploy a React app in a subdirectory of an IIS website, you can use an IIS virtual directory (web.config)
This code will rewrite any incoming request to the subdirectory to the index.html file inside the build folder. Your React app should now be accessible in the subdirectory you specified, and all the routes should work as expected.