# Can you assign a base http path context to a project?

**URL:** <https://discourse.nodered.org/t/can-you-assign-a-base-http-path-context-to-a-project/15983>\
**Category:** General\
**Created:** [27 September 2019 08:27 UTC](https://discourse.nodered.org/t/can-you-assign-a-base-http-path-context-to-a-project/15983 "2019-09-27T08:27:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnlongo](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@johnlongo](https://discourse.nodered.org/u/johnlongo)\
**Post date:** [27 September 2019 08:27 UTC](https://discourse.nodered.org/t/can-you-assign-a-base-http-path-context-to-a-project/15983/1 "2019-09-27T08:27:42Z")

</div>

Was wondering if you can assign a base http path context to a project.

Example:  
project 1 http path starts with "/path1/"  
project 2 http path starts with "/path2/"

so when I make a http request to [http://node-red-host/path1/welcome/](http://node-red-host/path1/welcome/) the request is routed to project 1 uibuilder node (welcome) and when I make another http request to [http://node-red-host/path2/welcome/](http://node-red-host/path2/welcome/) it gets routed to project 2 uibuilder node (welcome).

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [27 September 2019 08:34 UTC](https://discourse.nodered.org/t/can-you-assign-a-base-http-path-context-to-a-project/15983/2 "2019-09-27T08:34:25Z")

</div>

_(Since this appears to be a question rather than a (finished) project to showcase I’ll be moving the topic and switching around two words in the title)_

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [27 September 2019 08:37 UTC](https://discourse.nodered.org/t/can-you-assign-a-base-http-path-context-to-a-project/15983/3 "2019-09-27T08:37:35Z")

</div>

When you say projects, do you mean the Node-RED Projects functionality, or code in different flows? As for Projects, it’s not possible at the moment to have multiple projects active in the same node-red instance. You can work around that by starting an instance for each node. That still leaves the issue of different ports, but you can resolve that by setting up a reverse proxy (e.g. nginx), then place each instance on its own path in the configuration there.

---

<div class="post-metadata">

**Author:** ![johnlongo](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@johnlongo](https://discourse.nodered.org/u/johnlongo)\
**Post date:** [27 September 2019 15:14 UTC](https://discourse.nodered.org/t/can-you-assign-a-base-http-path-context-to-a-project/15983/4 "2019-09-27T15:14:32Z")

</div>

Thanks for the reply, I was talking node-red project
