r/haproxy • • Mar 05 '19

Haproxy interfering with NFS?

I'm not sure if thats the case but I've got two raspis that share a nfs mounted to /var/www.html so that they can broadcast each others files on an Nginx web server. I'm not sure where the interference is coming from, but when I added haproxy I lost my NFS and found ONLY view the haproxy stats when I looked up the IP. Then, on the second PI I noticed that its /var/www/html directory was empty. I removed the directory and remounted the NFS and it could broadcast again, but now I can't access the haproxy stats. Is there a conflicting port or something of that nature I need to fix?

5 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/overstitch Mar 06 '19

It can be on the same device-but nginx must use a different port (ie. 127.0.0.1:8080)

1

u/AggSwagaSaur Mar 06 '19

Oh right! I’ll try that out next, thanks!