VictoriaMetrics/app
Aliaksandr Valialkin 356deada8c
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:28:17 +01:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-07-06 21:36:28 -07:00
vlinsert all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
vlselect app/vmui: small UX enhancements 2023-10-16 12:39:32 +02:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 20:38:00 +02:00
vmagent app/vmagent/README.md: sync with docs/vmagent.md after 930d26b2ff 2023-11-13 09:44:07 +01:00
vmalert app/vmalert: update remote-write process (#5284) 2023-11-13 09:25:29 +01:00
vmalert-tool remove vmalert-tool code from branch cluster (#5229) 2023-10-25 14:48:11 +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:45:52 +01:00
vmbackup lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:41:38 +01:00
vmbackupmanager lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:41: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:15:42 +01:00
vmgateway lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:41:38 +01:00
vminsert app/{vmagent,vminsert}: follow-up for NewRelic data ingestion protocol support 2023-10-16 13:55:04 +02:00
vmrestore lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:41:38 +01:00
vmselect lib/htmlcomponents: use relative links for the top page and for favicon.ico 2023-11-13 20:28:17 +01:00
vmstorage lib/storage: stop exposing vm_merge_need_free_disk_space metric 2023-09-25 17:00:14 +02:00
vmui lib/htmlcomponents: use relative links for the top page and for favicon.ico 2023-11-13 20:28:17 +01:00