mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
webadmin: add cache config for app logos
This commit is contained in:
parent
6a3c77eda1
commit
69cc6345a5
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ location /yunohost/admin/ {
|
|||
|
||||
location /yunohost/admin/applogos/ {
|
||||
alias /usr/share/yunohost/applogos/;
|
||||
expires 1M;
|
||||
# max-age in seconds, one month
|
||||
add_header Cache-Control "max-age=2629746, public";
|
||||
}
|
||||
|
||||
more_set_headers "Content-Security-Policy: upgrade-insecure-requests; default-src 'self'; connect-src 'self' https://paste.yunohost.org wss://$host; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'; object-src 'none'; img-src 'self' data:;";
|
||||
|
|
Loading…
Add table
Reference in a new issue