influxdata / influxdata/influxdb
provide a option like "--baseurl" to set up the static file request behind a reverse proxy like nginx.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
I also meet with this problem,cause the influxdb oss did not provide a option like "--baseurl" to set up the static file request behind a reverse proxy like nginx. The option it provided is "--http-bind-address" which can only set up the host&port [check the doc](https://v2.docs.influxdata.com/v2.0/reference/urls/).
Contributor guide
Research direction
Start with the HTTP configuration described by --http-bind-address and the linked URL documentation, then trace how static-file requests are formed when InfluxDB runs behind nginx. Done means a documented base URL option allows those requests to resolve correctly through a reverse proxy, with appropriate tests for the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nginx, rust
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100