apache / apache/hertzbeat

[Question] support deploy behind a proxy like nginx ?

Open
#1,055 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

does hertzbeat support deploy behind a proxy like nginx ?

I tried it, if the contextpath is added, the application cannot be used normally, and the resource paths are all wrong

maybe we can add a server.basePath configuration like kibana?

server.basePath:
Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests to Kibana. This setting cannot end in a slash (/).

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reproducing the deployment with an added context path behind nginx, then trace the generated resource URLs and request routing; done means the application and its resources work normally through the configured proxy path.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, nginx
Domain
backend, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.