# Path to 'httpStatic' on Opto22 Groov RIO

**URL:** <https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684>\
**Category:** Industrial\
**Created:** [6 January 2021 21:47 UTC](https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684 "2021-01-06T21:47:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dudleyjosh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dudleyjosh/32/105799_2.png) [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Post date:** [6 January 2021 21:47 UTC](https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684/1 "2021-01-06T21:47:07Z")

</div>

I can't seem to get the path to 'httpStatic' figured out using the Node-RED that comes pre-installed on the [Opto22 Groov RIO](https://opto22.com/products/groov-rio)... I've setup and used 'httpStatic' many times on the Node-RED installs I've done on Raspberry Pi's and Windows Server without issue.

The one difference I see in this pre-installed setup on the Groov RIO is that it is using...

`httpRoot: '/node-red'`

...and I have 'httpStatic' set as shown below...

`httpStatic: '/home/dev/secured'`

The Node-RED UI is available at (I generically inserted 'ip\_address' for this post)...

`https://ip_address/node-red/`

I've tried to access the png file (which is located in the 'httpStatic' path) I want to display at...

`https://ip_address/filename.png`

...but I just get a `404 Not Found / nginx/1.15.2` error message.

Oh, and yes, I have restarted the Node-RED server after updating the settings.js file... you can see the top of the log file after Node-RED starts back up and everything looks ok.

```auto
Welcome to Node-RED
===================
6 Jan 00:41:06 - [info] Node-RED version: v1.1.3
6 Jan 00:41:06 - [info] Node.js version: v10.16.3
6 Jan 00:41:06 - [info] Linux 4.19.37-rt19-g3819971626 arm LE
6 Jan 00:41:22 - [info] Loading palette nodes
6 Jan 00:42:18 - [info] Dashboard version 2.26.1 started at /node-red/ui
6 Jan 00:42:22 - [info] Settings file : /usr/share/nxtio/services/node-red/settings.js
6 Jan 00:42:22 - [info] HTTP Static : /home/dev/secured
6 Jan 00:42:22 - [info] Context store : 'default' [module=memory]
6 Jan 00:42:22 - [info] User directory : /home/dev/.node-red
6 Jan 00:42:22 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
6 Jan 00:42:22 - [info] Flows file : /home/dev/.node-red/flows.json
6 Jan 00:42:22 - [info] Server now running at http://127.0.0.1:1880/node-red/
6 Jan 00:42:22 - [info] Starting flows

```

Does anyone have any ideas on this?

Am I missing something obvious?

---

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [7 January 2021 14:06 UTC](https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684/2 "2021-01-07T14:06:32Z")

</div>

Ah, was about to suggest you post this on the Opto22 forum, but see you have already done that.

I would suggest that Opto22 forum will give the better response being Opto22 oriented, especially as you have found that it worked OK on Raspberry Pi's and Windows servers.

Sorry, I can't help in this case, my setup is Raspberry Pi, Node-Red and PAC R1 so wouldn't really relate. (Will keep an eye on your Opto22 post.)

Best of luck,  
Colin J

---

<div class="post-metadata">

**Author:** ![dudleyjosh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dudleyjosh/32/105799_2.png) [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Post date:** [7 January 2021 21:45 UTC](https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684/3 "2021-01-07T21:45:14Z")

</div>

This question was addressed on the Opto22 forums...

> **[Path to 'httpStatic' on Opto22 Groov RIO](https://forums.opto22.com/t/path-to-httpstatic-on-opto22-groov-rio/3552)**
>
> I can’t seem to get the path to ‘httpStatic’ figured out using the Node-RED that comes pre-installed on the RIO… I’ve setup and used ‘httpStatic’ many times on the Node-RED installs I’ve done on Raspberry Pi’s and Windows Server without issue. The...

---

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [8 January 2021 17:48 UTC](https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684/4 "2021-01-08T17:48:03Z")

</div>

Excellent, thought Beno would get on the case as he is a Node-RED evangelist!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 January 2021 17:48 UTC](https://discourse.nodered.org/t/path-to-httpstatic-on-opto22-groov-rio/38684/5 "2021-01-22T17:48:19Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
