Important

You are browsing upcoming documentation for version 6.1 of OroCommerce, scheduled for release in 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Web Server Configuration 

The default setup of the Sales Frontend application assumes that it is located on the same host as the OroCommerce application.

Below is an example of a configuration snippet for the Nginx web server:

# Must be located before the location blocks which responsible for serving PHP files and websocket connections.
location ~ ^/sales-frontend/? {
    index "index.html";
    try_files $uri $uri/ /sales-frontend/index.html;
}

The configuration above assumes that the compiled Sales Frontend application (i.e., the result of pnpm build, by default located in the dist/ directory) is located at the public/sales-frontend/ directory of the OroCommerce application.