Skip to content

Latest commit

 

History

History
executable file
·
21 lines (15 loc) · 984 Bytes

File metadata and controls

executable file
·
21 lines (15 loc) · 984 Bytes

Nginx Web Server with NodeJs

Screenshot of the example web page.

In this example, NodeJs support has been added to nginx web server. The script S99nodejs is starting the NodeJs. Nginx has been configured to serve as reverse proxy and will forward the HTTP requests to NodeJs. You will see a basic device management page and for further projects, we will be using this web template.

Thanks to ChatGPT, it created a simple device configuration panel for us. Under /webpage folder, you will see html, js and css files for the web page. In config.json file, device configuration related information are being kept.

How to Run:

SSH Connection:

Once the board is powered up and connected to the network, you can use SSH to log in remotely:

ssh root@192.168.178.178
password: root

Supported boards:

  • Raspberry Pi Zero W
  • Raspberry Pi 3B+