App Proxy Redirects to Upstream URI
-
wrote on Jun 24, 2023, 4:04 AM last edited by
How does the App Proxy work?
When I enter a subdomain and the upstream URI, all it does is redirecting me to the upstream URI.What I was hoping for is that when I enter sub.example.com, my browser will maintain as sub.example.com and see the content of the upstream URI, but currently it just redirects me.
So when I have an upstream URI that goes to https://192.168.1.20:8000, this will not work when I'm trying to access it from outside LAN.
Am I missing something or is this how Cloudron proxy works?
-
wrote on Jun 24, 2023, 8:30 AM last edited by
-
How does the App Proxy work?
When I enter a subdomain and the upstream URI, all it does is redirecting me to the upstream URI.What I was hoping for is that when I enter sub.example.com, my browser will maintain as sub.example.com and see the content of the upstream URI, but currently it just redirects me.
So when I have an upstream URI that goes to https://192.168.1.20:8000, this will not work when I'm trying to access it from outside LAN.
Am I missing something or is this how Cloudron proxy works?
@alwynispat it behaves as you expect, it proxies and does not redirect. Have you checked what your site responds with when making a https query? Does it redirect?
-
wrote on Jun 24, 2023, 11:00 AM last edited by
when going to https://192.168.1.20:8000, it'll redirect me to a login on /webman/index.cgi
-