Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[NGINX] One URL multiple applications base on path
« previous
next »
Print
Pages: [
1
]
Author
Topic: [NGINX] One URL multiple applications base on path (Read 2758 times)
Mks
Sr. Member
Posts: 272
Karma: 19
[NGINX] One URL multiple applications base on path
«
on:
April 22, 2021, 08:47:26 pm »
Dear all,
may you can give me some hints, I already searched some time but did not find a solution.
Basic Setup:
2 web applications on different server
app1 on 192.168.1.1:8080
app2 on 192.168.1.2:80
My goal is to have one url and access both applications on different path, e.g
www.mywebapps.com/app1
--> 192.168.1.1:8080
www.mywebapps.com/app2
--> 192.168.1.2:80
I have already configured:
-Two upstream server (app1,app2)
-Two upstreams
Location:
LocationApp1-->URL Pattern: /app1/ --> Upstream Server App1
LocationApp2-->URL Pattern: /app2/ --> Upstream Server App2
HTTP Server
HTTP Server with both locations
I'm just able to access the homepage but no further sites but cannot follow links, login etc., what do I miss, may some URL Rewriting rules?
Thanks
br
Logged
Mks
Sr. Member
Posts: 272
Karma: 19
Re: [NGINX] One URL multiple applications based on path
«
Reply #1 on:
April 24, 2021, 10:06:13 am »
Hi community,
any ideas how I can achieve that with NGINX on OpnSense. I've attached some images about my current setup. Any help very appreciated.
Thanks
Logged
r.schoepf
Newbie
Posts: 5
Karma: 0
Re: [NGINX] One URL multiple applications base on path
«
Reply #2 on:
May 07, 2021, 01:40:01 pm »
same problem and i dont find the solution... if someone could help please
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[NGINX] One URL multiple applications base on path