<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stratus Panel - NodeJS on Webscale Product Documentation</title><link>https://docs.webscale.com/docs/reference/stratus/control-panels/nodejs-panel/</link><description>Recent content in Stratus Panel - NodeJS on Webscale Product Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webscale.com/docs/reference/stratus/control-panels/nodejs-panel/index.xml" rel="self" type="application/rss+xml"/><item><title>Stratus Panel — NodeJS &gt; Info</title><link>https://docs.webscale.com/docs/reference/stratus/control-panels/nodejs-panel/info/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/control-panels/nodejs-panel/info/</guid><description>&lt;p&gt;Webscale STRATUS includes the ability to enable NodeJS for &lt;a href="https://docs.webscale.com/docs/reference/stratus/guides/optimizations/pwa-and-headless-commerce/"&gt;headless environments&lt;/a&gt;
 like &lt;a href="https://devdocs.magento.com/guides/v2.4/pwa/" target="_blank"&gt;PWA Studio&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
 and &lt;a href="https://www.vuestorefront.io/" target="_blank"&gt;Vue Storefront&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
.&lt;/p&gt;

&lt;link rel="stylesheet" href="https://docs.webscale.com/css/hugo-easy-gallery.css" /&gt;&lt;div class="box" &gt;
 &lt;figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"&gt;
 &lt;div class="img"&gt;
 &lt;img itemprop="thumbnail" src="https://docs.webscale.com/images/stratus/img/articles/nodejs-1.jpg" /&gt;
 &lt;/div&gt;
 &lt;a href="https://docs.webscale.com/images/stratus/img/articles/nodejs-1.jpg" itemprop="contentUrl"&gt;&lt;/a&gt;
 &lt;/figure&gt;
&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; before enabling the NodeJS container, complete the initial &lt;a href="https://docs.webscale.com/docs/reference/stratus/guides/pwa-configuration/"&gt;configuration&lt;/a&gt;
.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To manage the NodeJS service, &lt;em&gt;go to&lt;/em&gt; &lt;strong&gt;NodeJS &amp;gt; Info&lt;/strong&gt; in the STRATUS sidebar menu.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To enable NodeJS, &lt;em&gt;click&lt;/em&gt; &lt;strong&gt;ENABLE&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;To disable NodeJS, &lt;em&gt;click&lt;/em&gt; &lt;strong&gt;DISABLE&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;There may be 1-2 minutes of downtime why the Webscale STRATUS environment restarts.&lt;/p&gt;
&lt;/blockquote&gt;</description></item><item><title>Stratus Panel — NodeJS &gt; PWA</title><link>https://docs.webscale.com/docs/reference/stratus/control-panels/nodejs-panel/pwa/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/reference/stratus/control-panels/nodejs-panel/pwa/</guid><description>&lt;link rel="stylesheet" href="https://docs.webscale.com/css/hugo-easy-gallery.css" /&gt;&lt;div class="box" &gt;
 &lt;figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject"&gt;
 &lt;div class="img"&gt;
 &lt;img itemprop="thumbnail" src="https://docs.webscale.com/images/stratus/img/articles/nodejs-pwa.jpg" /&gt;
 &lt;/div&gt;
 &lt;a href="https://docs.webscale.com/images/stratus/img/articles/nodejs-pwa.jpg" itemprop="contentUrl"&gt;&lt;/a&gt;
 &lt;/figure&gt;
&lt;/div&gt;

&lt;p&gt;Here you will see all the domains applied to your headless environment.&lt;/p&gt;
&lt;p&gt;You may choose to set them to PHP or NodeJS. Selecting either changes the fastcgi backend proxy in the Nginx configuration.
If a domain is set to PHP, it will forward to PHP-FPM. (/srv/public_html/ or &lt;a href="https://docs.webscale.com/docs/reference/stratus/control-panels/nginx-panel/document-root/"&gt;custom docroot&lt;/a&gt;
/)
If NodeJS is selected, the requests will be routed to NodeJS. (/srv/pwa/)&lt;/p&gt;
&lt;p&gt;This way you can host normal Magento 2 or PHP views alongside separate PWA applications for your store. Select and configure each domain as needed for your application.&lt;/p&gt;</description></item></channel></rss>