@nbraetter wrote:
Hi, i need help in Converting an nginx Config to an HaProxy Backend.
I dont have the neccessary knowledge to do this but this is our Only Configuration in HaProxy that i didn
t get to work.We have HaProxy 1.7 in Place and get this Nginx Config.
server {
listen :80;
server_name merkur-stylo.vrsmedia.de;
access_log /var/log/nginx/stylotest.log;
location / {
proxy_pass http:// http://10.32.2.228:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}My HaProxy Backend shows the following Code but It`s not working.
backend merkur_stylo
balance source
mode http
option forwardfor header X-Real-IP
http-request set-header Host 10.32.2.228
http-request set-header X-Forwarded-Host 10.32.2.228
http-request set-header X-Forwarded-Proto http
server merkur-stylo 10.32.2.228:8080 check inter 5000The URL can be tested with merkur-stylo.vrsmedia.de/stylo
But the Editor cant found the neccessary Pictures but it
s available.The Stylo is bound via vpn Gateway and is in original only available due to the internal Network from our Publisher.
Can anybody help me to Convert this to an working HaProxy Backend ?
Thank you.
Posts: 1
Participants: 1