VictoriaMetrics/lib/httpserver
Dima Lazerka ed8fc04898
lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111)
support `Strict-Transport-Security`, `Content-Security-Policy` and `X-Frame-Options`
HTTP headers in all VictoriaMetrics components.
The values for headers can be specified by users via the following flags:
`-http.header.hsts`, `-http.header.csp` and `-http.header.frameOptions`.

Co-authored-by: hagen1778 <roman@victoriametrics.com>

(cherry picked from commit ad839aa492)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-10-30 11:41:38 +01:00
..
httpserver_test.go lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:41:38 +01:00
httpserver.go lib/httpserver: add flags to specify HSTS / Frame-Options / CSP headers for httpserver (#5111) 2023-10-30 11:41:38 +01:00
path.go lib/httpserver: link to url format docs in error message emitted on parse error for the provided url path 2022-11-28 18:49:03 -08:00