magento/module-upward-connector

Magento module used for routing all frontend requests through UPWARD-PHP.

Installs: 5 777

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 15

Forks: 9

Type:magento2-module

1.1.2 2020-07-28 16:49 UTC

README

The Magento 2 UPWARD connector is a module for routing requests to UPWARD-PHP. This module replaces the default Magento frontend theme with a PWA Studio storefront application.

PWA Studio storefront deployments in the Magento Commerce Cloud use this module to keep Magento and storefront code on the same server.

Installation

The Magento 2 UPWARD connector module is part of the Magento Cloud deployment steps in the official PWA Studio docs.

Configuration

The Magento 2 UPWARD connector is configured in the admin area under:

Stores > Configuration > General > Web > UPWARD PWA Configuration.

UPWARD Config File

This configuration is the location of the UPWARD configuration file for the UPWARD-PHP server.

Use the absolute path on the server for the value of this configuration.

Example: /app/node_modules/@magento/venia-concept/dist/upward.yml

Front Name Whitelist

This configuration allows you to specify a line-separated list of routes to forward to the default Magento theme.

Example:

contact
privacy-policy-cookie-restriction-mode

With this example, when a visitor navigates to either <Magento store URL>/contact or <Magento store URL>/privacy-policy-cookie-restriction-mode, they will land on a page rendered by Magento instead of the storefront application.