mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 18:57:09 +08:00
Some more conf files
This commit is contained in:
14
src/nginxconfig/util/types_extensions.js
Normal file
14
src/nginxconfig/util/types_extensions.js
Normal file
@@ -0,0 +1,14 @@
|
||||
export const gzipTypes = 'text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml';
|
||||
|
||||
export const extensions = {
|
||||
assets: 'css(\\.map)?|js(\\.map)?',
|
||||
fonts: 'ttf|ttc|otf|eot|woff2?',
|
||||
svg: 'svgz?',
|
||||
images: 'jpe?g|png|gif|ico|cur|heic|webp|tiff?',
|
||||
audio: 'mp3|m4a|aac|ogg|midi?|wav',
|
||||
video: 'mp4|mov|webm|mpe?g|avi|ogv|flv|wmv',
|
||||
docs: 'pdf|' +
|
||||
'docx?|dotx?|docm|dotm|' +
|
||||
'xlsx?|xltx?|xlsm|xltm|' +
|
||||
'pptx?|potx?|pptm|potm|ppsx?',
|
||||
};
|
Reference in New Issue
Block a user