-
Hi all, maybe I am too stupid but I don't get it. I switched for apache reverse proxy configuration to nginx and GUI which seems much more modern. Also the certificate handling is much more convenient. The problem is, I don't see how to configure a subpath for a proxy host on the Nginx GUI. For example: admin.mydomain.com The "IP or Hostname" field and the "Port" field are both required. When I enter the data it is mixed up like: Maybe this is still possible with the "Advanced" tab but currently I am not sure how to configure this. Hope you can help. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I figured it out myself. The trick is to define "Custom location" that overrules the root of the domain. "Custom locations" That's it. For me, it was kind of tricky to see the results. It is important to clear the browser cache, otherwise it can be hard to see if it is working... |
Beta Was this translation helpful? Give feedback.
-
Aren’t you being redirected to admin.mydomain.com/admin instead of forwarded to the subfolder? |
Beta Was this translation helpful? Give feedback.
I figured it out myself.
The trick is to define "Custom location" that overrules the root of the domain.
"Custom locations"
"Add"
"location" = "/"
"Forward Hostname / IP" = "192.168.1.10/admin"
"Port" = "80"
That's it.
As far as I understand, the "Hostname IP" on the "Details" tab is overruled by the "Custom location"
For me, it was kind of tricky to see the results. It is important to clear the browser cache, otherwise it can be hard to see if it is working...