VictoriaMetrics/app
Aliaksandr Valialkin 8af56ea2ed
lib/htmlcomponents: use relative links for the top page and for favicon.ico
This allows hiding VictoriaMetrics components behind proxies with arbitrary path prefixes.
For example, vmagent HTTP handlers can be served via /vmagent/ path prefix:

- http://proxy/vmagent/targets
- http://proxy/vmagent/service-discovery

The path prefix can be arbitrary. For example, below are vmagent urls
for /tenantID/vmagent/ path prefix:

- http://proxy/tenantID/vmagent/targets
- http://proxy/tenantID/vmagent/service-discovery

While at it, consistently serve favicon.ico from any path directory.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5306
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5307
2023-11-13 20:29:05 +01:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-06-21 19:52:50 -07:00
victoria-metrics docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vlinsert all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-25 21:24:03 +02:00
vlselect app/vmui: small UX enhancements 2023-10-12 19:54:19 +02:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 16:52:23 +02:00
vmagent app/vmagent/README.md: sync with docs/vmagent.md after 930d26b2ff 2023-11-11 12:31:32 +01:00
vmalert app/vmalert: update remote-write process (#5284) 2023-11-08 14:53:07 +08:00
vmalert-tool lib/promutils, app/vmalert-tool/unittest: move promutils.Duration.ParseTime() to app/vmalert-tool/unittest.durationToTime() 2023-10-16 14:19:31 +02:00
vmauth docs/vmauth.md: add missing dashes in front of command-line flags at the Backend TLS setup section 2023-11-13 09:12:57 +01:00
vmbackup lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmbackupmanager lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmctl all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00
vmgateway lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vminsert app/{vmagent,vminsert}: follow-up for NewRelic data ingestion protocol support 2023-10-16 00:25:25 +02:00
vmrestore lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:33:38 +01:00
vmselect lib/htmlcomponents: use relative links for the top page and for favicon.ico 2023-11-13 20:29:05 +01:00
vmstorage lib/storage: stop exposing vm_merge_need_free_disk_space metric 2023-09-25 16:52:39 +02:00
vmui lib/htmlcomponents: use relative links for the top page and for favicon.ico 2023-11-13 20:29:05 +01:00