Skip to content

Backend and reverse proxy setupΒ #1440

@vladaurosh

Description

@vladaurosh

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Is your feature request related to a problem? Please describe

Just continuing discussion from #1416

Hey @jokob-sk @luckylinux
I've briefly checked what's going on based on input and guidance you've provided in the above issue.
What I see is that for some NetalertX features browser will try to connect to backend instead of frontend (this is how it previously worked). And in case you run NetalertX behind reverse proxy, you need to expose the backend as well. Correct me if I am wrong here.
If I am correct, this for sure is one weird setup (not to use some other word).

Since frontend runs on nginx, can we not use nginx and add location(s) for endpoint(s) (called on the backend), and add proxy pass to the backend?
This would make setup much more simple, without a need for new variable for the backend url.

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A

Anything else?

N/A

Am I willing to test this? πŸ§ͺ

  • I will do my best to test this feature on the netlertx-dev image when requested within 48h and report bugs to help deliver a great user experience for everyone and not to break existing installations.

Can I help implement this? πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions