Add a security HTTPS header to Garage web
This commit is contained in:
parent
d21c010da1
commit
4cb1dbe663
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ job "garage" {
|
||||||
tags = [
|
tags = [
|
||||||
"garage-web",
|
"garage-web",
|
||||||
"tricot * 1",
|
"tricot * 1",
|
||||||
|
"tricot-add-header Content-Security-Policy default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'"
|
||||||
]
|
]
|
||||||
port = 3902
|
port = 3902
|
||||||
address_mode = "driver"
|
address_mode = "driver"
|
||||||
|
|
Reference in a new issue