cache images
This commit is contained in:
@@ -9,6 +9,9 @@ https://ru.homyk.space {
|
||||
}
|
||||
|
||||
handle_path /main/* {
|
||||
@images path_regexp \.(jpg|jpeg|png|webp|gif|svg)$
|
||||
header @images Cache-Control "public, max-age=604800"
|
||||
|
||||
forward_auth backend:{$PORT} {
|
||||
uri /api/verify
|
||||
copy_headers Authorization
|
||||
|
||||
Reference in New Issue
Block a user