Update nginx config for static files

This commit is contained in:
Raphael Michel
2021-09-17 09:59:51 +02:00
parent 1514527ef3
commit 364cfe0131

View File

@@ -65,6 +65,8 @@ http {
access_log off;
expires 365d;
add_header Cache-Control "public";
add_header Access-Control-Allow-Origin "*";
gzip on;
}
location / {
# Very important: