fix favicon, cloudflare script blocking, error in js on startup
This commit is contained in:
@@ -40,6 +40,15 @@ http {
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' https://static.cloudflareinsights.com; object-src 'none';" always;
|
||||
|
||||
# Favicon: serve at standard /favicon.ico location
|
||||
location = /favicon.ico {
|
||||
alias /usr/share/nginx/html/assets/logos/favicon.png;
|
||||
expires 7d;
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Logo assets: 1 hour cache
|
||||
location ~* ^/assets/logos/ {
|
||||
|
||||
Reference in New Issue
Block a user