Correct default Content-Type for security.txt
The security.txt RFC specifies a Content-Type of text/plain and charset of utf-8 [1]. This adjusts the defaults so line breaks are rendered correctly in a browser. [1] https://datatracker.ietf.org/doc/html/rfc9116#section-3 Change-Id: I39c2dab5108a815ef966bab0d708d6300eb1a4d1
This commit is contained in:
parent
b81dec169b
commit
97390e88e0
|
@ -303,7 +303,7 @@ haproxy_security_txt_headers: |
|
|||
HTTP/1.0 200 OK
|
||||
Cache-Control: no-cache
|
||||
Connection: close
|
||||
Content-Type: text/html
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
|
||||
haproxy_security_txt_content: ''
|
||||
# haproxy_security_txt_content: |
|
||||
|
|
Loading…
Reference in New Issue