We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fe84d5 commit 61f3eefCopy full SHA for 61f3eef
1 file changed
config/nginx.conf
@@ -70,18 +70,10 @@ http {
70
access_log off;
71
}
72
73
- # assets, media
74
- location ~* \.(?:css(\.map)?|js(\.map)?|jpe?g|png|gif|ico|cur|heic|webp|tiff?|mp3|m4a|aac|ogg|midi?|wav|mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)$ {
75
- expires 7d;
76
- access_log off;
77
- }
78
-
79
- # svg, fonts
80
- location ~* \.(?:svgz?|ttf|ttc|otf|eot|woff2?)$ {
81
- add_header Access-Control-Allow-Origin "*";
82
83
84
+ location ^~ /dist/ {
+ expires 7d;
+ access_log off;
+ }
85
86
# Enable gzip compression
87
gzip on;
0 commit comments