mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1150 from YunoHost/fix-can-ynh-admin-vuejs
fix cache ynh-admin vuejs
This commit is contained in:
commit
1c0cfec67d
1 changed files with 0 additions and 6 deletions
|
@ -8,10 +8,4 @@ location /yunohost/admin/ {
|
|||
|
||||
more_set_headers "Content-Security-Policy: upgrade-insecure-requests; default-src 'self'; connect-src 'self' https://raw.githubusercontent.com https://paste.yunohost.org wss://$host; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'; object-src 'none';";
|
||||
more_set_headers "Content-Security-Policy-Report-Only:";
|
||||
|
||||
# Short cache on handlebars templates
|
||||
location ~* \.(?:ms)$ {
|
||||
expires 5m;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue