Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The APS Catalog has been deprecated and removed from all Plesk Obsidian versions. Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.
The domain/subdomain approach is described in my May 3 message, but I was striving for a single top level domain only solution, which seems cleaner to me, but it might be a personal preference kind of thing.
I think the .htaccess file for the React front end is required for both the single...
I don't know what an "`api.*` subdomain" is, and I'm not sure which of my problems it avoids, wouldn't mind understanding this. I'm glad to hear you've had some success.
I'd been in the development stage and had started this thread in anticipation of eventual release to the server, which I...
I now have a complete solution to serving a ReactJs front end and a NodeJs backend out of single Plesk domain. All that was required was a slight improvement to the .htaccess file described in the previous message:
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_URI} !/abcd/.*...
I've found an even simpler approach that just needs a little help:
Put your NodeJs directory in httpdocs.
Put your React app in the NodeJs directory.
Build the React app.
On the Plesk NodeJs page for the domain set Document Root to the React build directory, Application Root to the NodeJs...
I was able to get a React frontend working with a NodeJs backend using Plesk. This takes a different and simpler approach than the one described above that is just for the React portion:
In a new domain create your React FE app and build it. Set the domain's Document Root to the React app's...
I have a partial answer. I now know how to run ReactJS instead of NodeJS as the frontend for a Plesk domain. I followed these steps:
Go the the Websites & Domains page and click on Add Domain.
You'll be brought to the Adding New Domain page. Click on the appropriate box. I clicked on...
I have a partial answer. I now know how to run ReactJS instead of NodeJS as the frontend for a Plesk domain. I followed these steps:
Go the the Websites & Domains page and click on Add Domain.
You'll be brought to the Adding New Domain page. Click on the appropriate box. I clicked on...
I just checked my NodeJs settings at Plesk and they are:
Document Root: /httpdocs/client/src
Application Mode: production
Application URL: http:// ...etc...
Application Root: /httpdocs/client
Application Startup File: src/App.js
ReactJs has been installed in /httpdocs/client.
The...
Thanks for the information. I had already set up a domain in Plesk. I installed NodeJs as a Plesk extension. Under the Dashboard column for the domain I can click on Node.js to bring me to a page to set up Node.js. Is your suggestion to set "Application Startup File" to be the React client...
I posted a reply to the thread How to run React JS frontend, Node JS backend in Plesk?. The thread title asks the exact question I need an answer to. Mine was the first reply and no one's responded. I see now that that thread is in the General Discussion forum, so I'm posting the question...
I have the same question. Getting nodejs going was straightforward, but I'm struggling with the reactjs portion. I was able to start reactjs like this:
yarn create react-app client
yarn start
A browser window opened. On a Plesk nodejs website it seems like nodejs has to take the lead...