Add a security HTTPS header to Garage web

This commit is contained in:
Quentin 2022-05-04 09:19:46 +02:00
parent d21c010da1
commit 4cb1dbe663
Signed by untrusted user: quentin
GPG key ID: E9602264D639FF68

View file

@ -98,6 +98,7 @@ job "garage" {
tags = [
"garage-web",
"tricot * 1",
"tricot-add-header Content-Security-Policy default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'"
]
port = 3902
address_mode = "driver"