Public Folder Information
Note: This is the /public folder, not the application root.
Application Structure
The main application root is located in the /dist folder once the build process is complete.
Server Configuration
This application uses a two-tier server setup:
- Apache (Front-end): Domain requests resolve to Apache first
- Apache uses
mod_rewrite to serve static files from this /public folder
- All other requests are proxied to the Node.js application
- Node.js (Back-end): Handles application logic on a specific port
Request Flow
- Domain name resolves to Apache server
- Apache checks if the requested file exists in
/public
- If found: Apache serves the static file directly
- If not found: Apache proxies the request to the Node.js application