[Question] support deploy behind a proxy like nginx ?
- 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
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