When I hit /portainer , page come up with BAD REQUEST. The issue is the actual server does not serve with /portainer. Hence I need to strip /portainer and send the request to backend . So I did this
reqrep ^([^\ ]*\ /)portainer[/]?(.*) \1\2
The page does not load either , but now no BAD REQUEST . Instead I just get blank page , but when I press F12 I can see in the console and the request headers coming up . The URL now in there/css , which is not good as it needs to be 192.168.2.57:9000/css , to make it work .
The links in the page still points to 192.168.2.57:9000 , which is the actual server where it is hosted fails subsequently
When I hit /portainer , page come up with BAD REQUEST. The issue is the actual server does not serve with /portainer. Hence I need to strip /portainer and send the request to backend . So I did this
reqrep ^([^\ ]*\ /)portainer[/]?(.*) \1\2
The page does not load either , but now no BAD REQUEST . Instead I just get blank page , but when I press F12 I can see in the console and the request headers coming up . The URL now in there/css , which is not good as it needs to be 192.168.2.57:9000/css , to make it work .
The links in the page still points to 192.168.2.57:9000 , which is the actual server where it is hosted fails subsequently
Hi, I am newbie and have a query to related to same topic.
NGINX handling for 10080
Hi Umpathy Girirajan,
I found your name in haproxy user list. I am newbie to haproxy and
trying to convert the below nginx config to haproxy.
server {
listen 10080;
listen [::]:10080;
server_name localhost;