Need to wrap string in extraConfig
This commit is contained in:
parent
def3a59869
commit
5deb902abe
|
@ -146,13 +146,15 @@ in {
|
|||
"immutable"
|
||||
else
|
||||
"must-revalidate";
|
||||
in ''
|
||||
add_header Cache-Control "public, max-age=${
|
||||
toString maxAge
|
||||
}, ${immutableString}";
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
|
||||
try_files $uri =404;
|
||||
'';
|
||||
in {
|
||||
extraConfig = ''
|
||||
add_header Cache-Control "public, max-age=${
|
||||
toString maxAge
|
||||
}, ${immutableString}";
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
|
||||
try_files $uri =404;
|
||||
'';
|
||||
};
|
||||
in {
|
||||
"/api/v1/streaming" = {
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Reference in New Issue