You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Node.js Marketplace App is running [Nginx](https://www.nginx.com/), [Node.js](https://nodejs.org/en/), [NPM](https://www.npmjs.com/), and [PM2](https://pm2.keymetrics.io/). Once deployed, a "Hello World" sample application should be running on `http://localhost:3000`. An Nginx reverse proxy then serves the application through your custom domain or rDNS domain over ports 80 and 443
45
+
The Node.js Marketplace App is running [Nginx](https://www.nginx.com/), [Node.js](https://nodejs.org/en/), and [NPM](https://www.npmjs.com/). Once deployed, a sample page should be running on your FQDN (if applicable) or the Compute Instance's Reverse DNS address.
46
46
47
47
### Accessing the Node.js App through the Command Line
48
48
49
-
The Node.js sample application is stored in the `hello.js` file within `/opt/nodejs/`. To access it within the command line, follow the instructions below.
49
+
The Node.js sample application is stored in the `app.js` file within `/var/www/[domain]/`.
50
50
51
51
1. Log in to your Compute Instance via [SSH](/docs/guides/connect-to-server-over-ssh/) or [Lish](/docs/products/compute/compute-instances/guides/lish/).
52
52
53
53
1. Navigate to the directory in which the application is stored:
54
54
55
-
cd /opt/nodejs/
55
+
cd /var/www/[domain]
56
56
57
57
1. Open the sample application with your preferred command line text editor, such as [nano](/docs/guides/use-nano-to-edit-files-in-linux/) or [vim](/docs/guides/what-is-vi/).
58
58
59
-
nano hello.js
59
+
nano app.js
60
60
61
61
### Viewing the Node.js App through a Web Browser
62
62
63
-
Open your web browser and navigate to `http://[domain]/`, where *[domain]* can be replaced with the custom domain you entered during deployment or your Compute Instance's rDNS domain (such as `192-0-2-1.ip.linodeusercontent.com`). See the [Managing IP Addresses](/docs/products/compute/compute-instances/guides/manage-ip-addresses/) guide for information on viewing rDNS.
63
+
Open your web browser and navigate to `https://[domain]/`, where *[domain]* can be replaced with the custom domain you entered during deployment or your Compute Instance's rDNS domain (such as `192-0-2-1.ip.linodeusercontent.com`). See the [Managing IP Addresses](/docs/products/compute/compute-instances/guides/manage-ip-addresses/) guide for information on viewing rDNS.
64
64
65
-

65
+
## Software Included
66
+
67
+
|**Software**|**Description**|
68
+
|:--------------|:------------|
69
+
|**Node.js**| JavaScript runtime environment |
70
+
|**NPM**| Node.js package manager |
71
+
|**NGINX**| Web server and reverse proxy |
72
+
|**UFW (Uncomplicated Firewall)**| Firewall utility. Ports 22/tcp, 80/tcp, and 443/tcp for IPv4 and IPv6 are enabled with installation of this app. All other ports have the following firewall rules: deny (incoming), allow (outgoing). |
0 commit comments