web: allow to configure shard name using env variable
This commit is contained in:
@@ -18,6 +18,10 @@ error_page 404 /static/404.html;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
|
||||
{{ if .Env.DEPLOYMENTINFO_SHARD }}
|
||||
add_header X-Jitsi-Shard {{ .Env.DEPLOYMENTINFO_SHARD }};
|
||||
{{ end }}
|
||||
|
||||
location = /config.js {
|
||||
alias /config/config.js;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user