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: quentin
GPG Key ID: E9602264D639FF68
1 changed files with 1 additions and 0 deletions

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"