4/22/2021 10:08 AM | |
Joined: 4/17/2018 Last visit: 11/6/2024 Posts: 88 Rating: (5) |
Dear all, i would like to address my multiple cpu webservers through a single point of entry. What troubles me is the location section of the nginx config file. I would like to do something like:
} |
4/29/2021 9:23 AM | |
Joined: 7/9/2018 Last visit: 3/3/2022 Posts: 1 Rating: (0) |
Dear faschmidt, I also tried it with the code descriped here: https://serverfault.com/questions/854218/nginx-reverse- I used: This takes me to http://proxyip/cpu1/FormLogin. It shows "405 METHOD NOT ALLOWED". This is also shown by accessing via cpu1-ip/FormLogin. I doubt this message is your aim. Still, I hope this helps you with your task. Best regards! |
This contribution was helpful to2 thankful Users |
4/29/2021 4:31 PM | |
Joined: 4/17/2018 Last visit: 11/6/2024 Posts: 88 Rating: (5) |
Thanks for the ideas. In between time I choose another method on the nginx config. I defined different server paragraphs where the server name differs between the cpu Now you only have to set the headers correct and everything works just fine. The working headers can be found here: Reverse Proxy — Kasm 1.8.0 documentation (kasmweb.com) Note that KASM has nothing to do with the solution. But the header correction just The only downside is to have a name resolution and therefore a DNS in the outer net Simplest way is the hosts file on the device that wants to use the proxy. If I get time I do a complete guide for this. |
Last edited by: faschmidt at: 04/29/2021 16:32:45 |
|
2/3/2023 7:41 AM | |
Joined: 3/31/2017 Last visit: 10/15/2024 Posts: 43 Rating: (0) |
Hi. :) I want to achieve something similar, so may I ask for your nginx configuration file as an example? |
Follow us on