Home
Help
Search
Login
Register
OPNsense Forum
»
International Forums
»
Dutch - Nederlands
»
Nginx reverse proxy
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Nginx reverse proxy (Read 5080 times)
ghmc
Newbie
Posts: 12
Karma: 0
Re: Nginx reverse proxy
«
Reply #15 on:
March 12, 2024, 05:08:08 pm »
But you are right there has to be a DNS problem.
Checking the override list I find that all host overrides I put in there to go to the IP of the router, so HAproxy can pick them up are gone!
Logged
ghmc
Newbie
Posts: 12
Karma: 0
Re: Nginx reverse proxy
«
Reply #16 on:
March 14, 2024, 07:22:23 am »
First of all I would like to thank everyone that responded to my initial question and offering help and suggestions. I have been able to determine and solve the problem I had.
It was a problem with DNS (isn't ever!). In Unbound DNS I had created an override to the opnsense router and aliases for all the running services attached to that override. HAproxy was correctly configured and working for those services and reversing those url request.
Somewhere and somehow the override and all the aliases were deleted. I still don't know how, but that has to be my error. I can't think of a reason that Unbound does that by itself. And therefore HAproxy couldn't do it's job.
After reconfiguring the override and aliases everything worked again.
As suggested I also tried the OPNWAF plugin, because that is a lot easier to configure than HAproxy. But found that a lot off services showed up garbled and missing a lot off visuals in the endusers browser. So abandoned that path. HAproxy is working fine for now.
The next issue I want to solve with HAproxy is a loadbalancing one. Now that the services are running fine from a single networkport on the NAS where the dockers are running, I want to add the second networkport and let HAproxy decide which one is going to be used. The first networkport is a LAG with 4 times 1 Gb, the second networkport is a LAG with the 2 times 10 Gb.
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
International Forums
»
Dutch - Nederlands
»
Nginx reverse proxy